ReswPlus 0.5.0
dotnet add package ReswPlus --version 0.5.0
NuGet\Install-Package ReswPlus -Version 0.5.0
<PackageReference Include="ReswPlus" Version="0.5.0" />
<PackageVersion Include="ReswPlus" Version="0.5.0" />
<PackageReference Include="ReswPlus" />
paket add ReswPlus --version 0.5.0
#r "nuget: ReswPlus, 0.5.0"
#:package ReswPlus@0.5.0
#addin nuget:?package=ReswPlus&version=0.5.0
#tool nuget:?package=ReswPlus&version=0.5.0
ReswPlus
ReswPlus is a C# source generator that turns .resw resources into a strongly typed API for UWP and WinUI applications.
Install
dotnet add package ReswPlus
The package adds the generator and its transitive MSBuild integration. Add or update the default-language .resw file in your project and ReswPlus generates resource properties and methods during compilation.
Features
- Strongly typed resource properties for XAML and C#
- Typed and named string-format parameters
- Literal arguments, resource references, and app/system macros
- CLDR-based pluralization and empty states
- String variants
- Build-time diagnostics for malformed or inconsistent resources
Version 0.4.0 requires a compiler host compatible with Roslyn 5.6, such as the .NET 10 SDK.
See the documentation and samples for setup and usage.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on ReswPlus:
| Repository | Stars |
|---|---|
|
huynhsontung/Screenbox
LibVLC-based media player for the Universal Windows Platform
|
|
|
jenius-apps/ambie
An app that uses white noise, nature sounds, and focus features to boost your productivity.
|
|
|
jenius-apps/beeskie
A Windows app for Bluesky
|
Plural rules are now derived from the rules Unicode CLDR publishes rather than transcribed by hand. BREAKING for Portuguese: pt and pt-BR now take CLDR's rules for bare pt, where they previously took European Portuguese. A count of zero selects the singular there, so "0 arquivos" becomes "0 arquivo". pt-PT is unchanged. No diagnostic reports this -- the resource keys a translator supplies are the same -- so check any pt or pt-BR wording for a count of zero. Breton's "many" form is now optional, which changes only which build-time diagnostics fire.