Lizerium.Localization.Analyzer 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Lizerium.Localization.Analyzer --version 1.0.2
                    
NuGet\Install-Package Lizerium.Localization.Analyzer -Version 1.0.2
                    
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="Lizerium.Localization.Analyzer" Version="1.0.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lizerium.Localization.Analyzer" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Lizerium.Localization.Analyzer">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Lizerium.Localization.Analyzer --version 1.0.2
                    
#r "nuget: Lizerium.Localization.Analyzer, 1.0.2"
                    
#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 Lizerium.Localization.Analyzer@1.0.2
                    
#: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=Lizerium.Localization.Analyzer&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Lizerium.Localization.Analyzer&version=1.0.2
                    
Install as a Cake Tool

Lizerium.Localization.Analyzer

Roslyn analyzer and CodeFix provider for Lizerium.Localization.Toolkit.

The analyzer detects calls to generated localization methods when the matching .resx key is missing. The CodeFix can create the key in Strings.en.resx and Strings.ru.resx.

Install

<PackageReference Include="Lizerium.Localization.Analyzer" Version="1.0.0"
                  OutputItemType="Analyzer"
                  ReferenceOutputAssembly="false"
                  PrivateAssets="all" />

Project Setup

<ItemGroup>
  <AdditionalFiles Include="Resources\Localization\*.resx" />
</ItemGroup>

Diagnostics

ID Meaning
LOC100 Code calls a generated localization method but no matching .resx key exists

CodeFix

Use Ctrl + . -> Create localization key.

For a call without arguments:

L.FactionView.TooltipHighlight();

the CodeFix creates FactionView_TooltipHighlight.

For a call with arguments:

L.MainWindow.TestParam.CreateValue(path, "param2", 5);

the CodeFix creates MainWindow_TestParam_CreateValue_Format with TODO {0} {1} {2}.

Project repository: https://github.com/Lizerium/Lizerium.Localization.Toolkit

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 98 5/7/2026
1.0.4 95 5/6/2026
1.0.3 95 5/5/2026
1.0.2 91 5/5/2026
1.0.0 107 4/28/2026