Skip to main content
ThisAssembly.Strings package icon

ThisAssembly.Strings

This package generates a static `ThisAssembly.Strings` class with public constants exposing string resources in .resx files or methods with the right number of parameters for strings that use formatting parameters. In addition, it groups constants and methods in nested classes according to an optional underscore separator to organize strings. For example, *User_InvalidCredentials* can be accessed with *ThisAssembly.Strings.User.InvalidCredentials* if it contains a simple string, or as a method with the right number of parametres if its value has a format string. Finally, format strings can use named parameters too to get more friendly parameter names, such as "Hello {name}". > This project uses SponsorLink to attribute sponsor status (direct, indirect or implicit). For IDE usage, sponsor status is required. > IDE-only warnings will be emitted after a grace period otherwise. Learn more at https://github.com/devlooped#sponsorlink.

Total Downloads
210.8K
210,774
Published
Feb 18, 2025
Latest stable version

Install

.NET CLI
dotnet add package ThisAssembly.Strings --version 2.0.12
Package Manager Console
Install-Package ThisAssembly.Strings -Version 2.0.12
PackageReference
<PackageReference Include="ThisAssembly.Strings" Version="2.0.12" />

Frameworks

.NETStandard2.0

Dependencies

Microsoft.CSharp
.NETStandard2.0
[4.7.0, )
[4.5.4, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.