H.Uno.Sdk.Manifest
0.10.0
See the version list below for details.
dotnet add package H.Uno.Sdk.Manifest --version 0.10.0
NuGet\Install-Package H.Uno.Sdk.Manifest -Version 0.10.0
<PackageReference Include="H.Uno.Sdk.Manifest" Version="0.10.0" />
paket add H.Uno.Sdk.Manifest --version 0.10.0
#r "nuget: H.Uno.Sdk.Manifest, 0.10.0"
// Install H.Uno.Sdk.Manifest as a Cake Addin #addin nuget:?package=H.Uno.Sdk.Manifest&version=0.10.0 // Install H.Uno.Sdk.Manifest as a Cake Tool #tool nuget:?package=H.Uno.Sdk.Manifest&version=0.10.0
Uno.Sdk
Easy configuration for Uno projects in 2 lines of code. Now is only there platforms are supported:
- Mobile(macOS, MacCatalyst and Android)
- Windows
- WebAssembly
- Skia.Gkt(Skia.Wpf, Skia.Linux.Framebuffer and Skia.Tizen still are unsupported)
I think we need to replace net7.0-skia
to
net7.0-windows
(Skia.Wpf), net7.0-gtk
(Skia.Gtk),
net7.0-linux
(Skia.Linux.Framebuffer) and net7.0-tizen
(Skia.Tizen)
to support all Skia project types.
Usage
<Project Sdk="H.Uno.Sdk/0.10.0">
<PropertyGroup>
<TargetFrameworks>net7.0-maccatalyst;net7.0-android;net7.0-ios;net7.0-skia;net7.0-webassembly</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
</PropertyGroup>
</Project>
Install
To support custom target frameworks, you need to install the appropriate workloads:
- On Linux / macOS:
curl -sSL https://raw.githubusercontent.com/HavenDV/Skia/main/scripts/workload-install.sh | sudo bash
curl -sSL https://raw.githubusercontent.com/HavenDV/WebAssembly/main/scripts/workload-install.sh | sudo bash
- On Windows:
Invoke-WebRequest 'https://raw.githubusercontent.com/HavenDV/Skia/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1';
./workload-install.ps1
Invoke-WebRequest 'https://raw.githubusercontent.com/HavenDV/WebAssembly/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1';
./workload-install.ps1
Uninstall
dotnet workload uninstall skia
dotnet workload uninstall webassembly
Disclaimer
Although this is a working solution, I have simplified some things regarding workload and manifest, which could theoretically cause problems (for example, when upgrading to a new sdk version).
Docs
Official documentation regarding the design of Workloads and Sdks:
- https://github.com/dotnet/sdk/tree/main/documentation/general/workloads
- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workloads.md
- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workload-resolvers.md
- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workload-manifest.md
- https://github.com/dotnet/designs/blob/main/accepted/2021/workloads/workload-installation.md
- MAUI Workload - https://github.com/dotnet/maui/tree/main/src/Workload
- Tizen Workload - https://github.com/Samsung/Tizen.NET/tree/main/workload
Support
Priority place for bugs: https://github.com/HavenDV/Uno.Sdk/issues
Priority place for ideas and general questions: https://github.com/HavenDV/Uno.Sdk/discussions
Discord: https://discord.gg/g8u2t9dKgE
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 |
---|---|---|
0.27.0 | 222 | 1/31/2024 |
0.26.0 | 321 | 11/27/2023 |
0.25.0 | 219 | 11/25/2023 |
0.24.0 | 244 | 11/23/2023 |
0.23.0 | 239 | 11/19/2023 |
0.22.0 | 175 | 11/15/2023 |
0.21.0 | 163 | 11/15/2023 |
0.20.0 | 192 | 11/3/2023 |
0.19.0 | 204 | 11/3/2023 |
0.18.0 | 268 | 10/11/2023 |
0.17.2 | 282 | 10/7/2023 |
0.17.1 | 230 | 10/7/2023 |
0.17.0 | 248 | 10/7/2023 |
0.16.0 | 231 | 10/7/2023 |
0.15.0 | 181 | 10/6/2023 |
0.14.0 | 273 | 10/6/2023 |
0.13.1 | 230 | 10/5/2023 |
0.13.0 | 271 | 10/5/2023 |
0.12.0 | 218 | 10/5/2023 |
0.11.1 | 239 | 10/5/2023 |
0.11.0 | 233 | 10/5/2023 |
0.10.0 | 236 | 10/3/2023 |
0.9.8 | 295 | 10/2/2023 |
0.9.7 | 212 | 10/2/2023 |
0.9.6 | 295 | 10/2/2023 |
0.9.5 | 244 | 10/2/2023 |
0.9.4 | 216 | 10/2/2023 |
0.9.3 | 221 | 10/2/2023 |
0.9.2 | 246 | 10/1/2023 |
0.9.1 | 267 | 10/1/2023 |
0.9.0 | 255 | 10/1/2023 |
0.8.4 | 243 | 9/30/2023 |
0.8.3 | 272 | 9/30/2023 |
0.8.2 | 240 | 9/29/2023 |
0.8.1 | 250 | 9/29/2023 |
0.8.0 | 214 | 9/29/2023 |