dotnet add package UniversalApiContractNet --version 1.0.0
NuGet\Install-Package UniversalApiContractNet -Version 1.0.0
<PackageReference Include="UniversalApiContractNet" Version="1.0.0" />
paket add UniversalApiContractNet --version 1.0.0
#r "nuget: UniversalApiContractNet, 1.0.0"
// Install UniversalApiContractNet as a Cake Addin #addin nuget:?package=UniversalApiContractNet&version=1.0.0 // Install UniversalApiContractNet as a Cake Tool #tool nuget:?package=UniversalApiContractNet&version=1.0.0
.Net 6不能直接引用Windows元数据文件（.winmd），因此也不能直接使用通用Windows平台的API，主要是UniversalApiContract.winmd。本项目直接用Microsoft.Windows.CsWinRT NuGet工具包将UniversalApiContract转码为适用于.Net 6的项目。
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net6.0 is compatible. 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. 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. net8.0 was computed. net8.0-android 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.|
- Microsoft.Windows.CsWinRT (>= 1.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on UniversalApiContractNet:
This package is not used by any popular GitHub repositories.