Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Smart String Resources
Smart String Resources

Smart String Resources

mrinaldi

|
1,107 installs
| (0) | Free
Creates a class to access resx strings with named parameters and provides access to the resource keys to use with attribute-based validations.
Download

Smart String Resources

Creates a class to access resx strings with named parameters and provides access to the resource keys to use with attribute-based validations.

Features

  • Exposes resource entries format parameters as named method arguments
  • Exposes resource keys as constants to use in attribute-based validations
  • Organizes resource entries according to "area" delimited by underscore
  • Generates C# and VB.NET code
  • Integrates with Visual Studio to auto create and update Smart String Resources files
  • Generated namespaces and classes names and accessibility levels can be customized
  • Optional culture parameter can be specified
  • Works with team members that do not have Smart String Resources installed

 

It is based on NETFx Smart String Resources but has more features like support to C# and VB.NET, optional culture parameter and Visual Studio extension to auto create and update files and generation of resource keys constants.

You install Smart String Resources via NuGet or Visual Studio extension, which auto creates and updates the files whenever you create or update the resx file.

By installing the extension, when you create a new resx file, it will automatically create the Smart String Resources T4 template file for you.
In case the auto create option is off, you can manually add the Smart String Resources template file by clicking on Add New Item, there will be the Smart String Resource option. Just select it and name it the same name of the resx file.

AddNewItem.png


To read more about installation and use, read the documentation athttps://smartstringresources.codeplex.com/documentation

 

Donate

This project is a free open source. If you find this project useful and you want to support it, please donate by the link below.

Donate to the project

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft