Microsoft.Data.Tools.StringResourceTool 3.0.1

String Resource Tool creates C# wrapper classes for managed string resources. The app developer creates a .strings file to declare the list of strings.
Each line includes the name of the string and its list of parameters.
For example:
ConnectionFailure(server) = Failed to connect to server {0}.
The above line creates the following entry in the wrapper class:
internal class StringConnectionInfo
   public static string ConnectionFailure(string server)
       return Keys.GetString(Keys.ConnectionFailure, server);
The package includes a targets file for incorporating srgen into an msbuild-based development project and a sample strings file.

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.Data.Tools.StringResourceTool -Version 3.0.1
dotnet add package Microsoft.Data.Tools.StringResourceTool --version 3.0.1
<PackageReference Include="Microsoft.Data.Tools.StringResourceTool" Version="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Data.Tools.StringResourceTool --version 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Data.Tools.StringResourceTool, 3.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Data.Tools.StringResourceTool as a Cake Addin
#addin nuget:?package=Microsoft.Data.Tools.StringResourceTool&version=3.0.1

// Install Microsoft.Data.Tools.StringResourceTool as a Cake Tool
#tool nuget:?package=Microsoft.Data.Tools.StringResourceTool&version=3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

  • .NETCoreApp 2.2

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.Data.Tools.StringResourceTool:

Repository Stars
SQL Tools API service that provides SQL Server data management capabilities.

Version History

Version Downloads Last updated
3.1.0 51 4/28/2021
3.0.1 346 12/1/2020
2.0.0 408 9/30/2019
1.1.0 279 6/18/2019