ReswPlus 0.5.0

dotnet add package ReswPlus --version 0.5.0
                    
NuGet\Install-Package ReswPlus -Version 0.5.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ReswPlus" Version="0.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ReswPlus" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="ReswPlus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ReswPlus --version 0.5.0
                    
#r "nuget: ReswPlus, 0.5.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ReswPlus@0.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ReswPlus&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=ReswPlus&version=0.5.0
                    
Install as a Cake Tool

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.

There are no supported framework assets in this package.

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
Version Downloads Last Updated
0.5.0 375 8/22/2026
0.4.0 145 8/18/2026
0.3.1.5 8,538 2/3/2025
0.2.6 335 9/11/2024

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.