Microsoft.Data.Tools.StringResourceTool
3.2.0
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Data.Tools.StringResourceTool --version 3.2.0
NuGet\Install-Package Microsoft.Data.Tools.StringResourceTool -Version 3.2.0
<PackageReference Include="Microsoft.Data.Tools.StringResourceTool" Version="3.2.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Microsoft.Data.Tools.StringResourceTool --version 3.2.0
#r "nuget: Microsoft.Data.Tools.StringResourceTool, 3.2.0"
// Install Microsoft.Data.Tools.StringResourceTool as a Cake Addin #addin nuget:?package=Microsoft.Data.Tools.StringResourceTool&version=3.2.0 // Install Microsoft.Data.Tools.StringResourceTool as a Cake Tool #tool nuget:?package=Microsoft.Data.Tools.StringResourceTool&version=3.2.0
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:
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.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 (2)
Showing the top 2 popular GitHub repositories that depend on Microsoft.Data.Tools.StringResourceTool:
Repository | Stars |
---|---|
microsoft/sqltoolsservice
SQL Tools API service that provides SQL Server data management capabilities.
|
|
microsoft/sqlmanagementobjects
Sql Management Objects, an API for scripting and managing SQL Server and Azure SQL Database
|
3.2.0 Allows running with newer NetCore SDK