DaoLang.WinUI3 1.0.3

dotnet add package DaoLang.WinUI3 --version 1.0.3
                    
NuGet\Install-Package DaoLang.WinUI3 -Version 1.0.3
                    
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="DaoLang.WinUI3" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DaoLang.WinUI3" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="DaoLang.WinUI3" />
                    
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 DaoLang.WinUI3 --version 1.0.3
                    
#r "nuget: DaoLang.WinUI3, 1.0.3"
                    
#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 DaoLang.WinUI3@1.0.3
                    
#: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=DaoLang.WinUI3&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=DaoLang.WinUI3&version=1.0.3
                    
Install as a Cake Tool

DaoLang

DaoLang is a .NET localization library for desktop and cross-platform UI apps.
DaoLang 是一个面向 .NET 桌面与跨平台 UI 应用的本地化库。

It uses source generators to reduce manual localization work.
它通过 Source Generator 减少手工维护多语言资源的成本。

Features / 功能

  • Generate strongly typed entry properties.
    自动生成强类型词条属性。
  • Generate and keep language resource files in sync.
    自动生成并同步语言资源文件。
  • Provide platform-specific resource dictionaries for binding.
    为不同 UI 平台生成可直接绑定的资源字典。
  • Support runtime language switching with main-language fallback.
    支持运行时切换语言,并在缺失资源时回退到主语言。

Packages / 包

  • DaoLang.WPF
  • DaoLang.Avalonia
  • DaoLang.WinUI3
  • DaoLang.MAUI

Basic Usage / 基本使用

  1. Install the package for your UI framework.
    安装对应 UI 平台的 NuGet 包。
  2. Define a localization class with DaoLang attributes.
    使用 DaoLang 特性定义本地化资源类。
  3. Mark entries with [Entry].
    使用 [Entry] 标记词条字段。
  4. Build the project to generate code and resource files.
    构建项目以生成代码和资源文件。
  5. Initialize localization at startup and switch languages at runtime.
    在启动时初始化,并在运行时切换语言。

Repository / 仓库

License / 许可证

  • MIT
Product 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.  net6.0-windows10.0.19041 is compatible.  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.  net7.0-windows10.0.19041 is compatible.  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.  net8.0-windows10.0.19041 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net9.0-windows10.0.19041 is compatible.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.3 60 4/2/2026
1.0.2 356 4/2/2023
1.0.1 319 3/14/2023
1.0.0 335 2/26/2023