'projects missing from dotnet6 uno winui project
I'm getting this response when trying to create a new project:
dotnet new unoapp-winui-net6 -o unoapp
The template "Multi-Platform App net6 (WinUI)" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.Shared\unoapp.Shared.shproj...
Restore succeeded.
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.Mobile\unoapp.Mobile.csproj...
Determining projects to restore...
Restored C:\Users\a_bri\source\repos\unoapp\unoapp.Mobile\unoapp.Mobile.csproj (in 655 ms).
Restore succeeded.
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.UWP\unoapp.Uwp.csproj...
Restore succeeded.
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.Windows\unoapp.Windows.csproj...
Determining projects to restore...
Restored C:\Users\a_bri\source\repos\unoapp\unoapp.Windows\unoapp.Windows.csproj (in 63 ms).
Restore succeeded.
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.macOS\unoapp.Skia.Gtk.csproj...
MSBUILD : error MSB1009: Project file does not exist.
Switch: C:\Users\a_bri\source\repos\unoapp\unoapp.macOS\unoapp.Skia.Gtk.csproj
Restore failed.
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.macOS\unoapp.Skia.WPF.csproj...
MSBUILD : error MSB1009: Project file does not exist.
Switch: C:\Users\a_bri\source\repos\unoapp\unoapp.macOS\unoapp.Skia.WPF.csproj
Restore failed.
Running 'dotnet restore' on C:\Users\a_bri\source\repos\unoapp\unoapp.macOS\unoapp.Skia.WPF.Host.csproj...
MSBUILD : error MSB1009: Project file does not exist.
Switch: C:\Users\a_bri\source\repos\unoapp\unoapp.macOS\unoapp.Skia.WPF.Host.csproj
Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'
Templates installed:
dotnet new -i Uno.ProjectTemplates.Dotnet
The following template packages will be installed:
Uno.ProjectTemplates.Dotnet
Uno.ProjectTemplates.Dotnet is already installed, version: 4.1.9, it will be replaced with version .
Uno.ProjectTemplates.Dotnet::4.1.9 was successfully uninstalled.
Success: Uno.ProjectTemplates.Dotnet::4.2.6 installed the following templates:
Template Name Short Name Language Tags
----------------------------------------------- ------------------- -------- ------------------------------------------------------------------------------------------
Cross-Platform App (Prism) unoapp-prism [C#] Cross-platform/Uno Platform/Prism/Android/iOS/Windows/macOS/WebAssembly/dotnet-new
Cross-Platform Library unolib [C#] Cross-platform/Uno Platform/Library/Android/iOS/Windows/macOS/Linux/WebAssembly/dotnet-new
Cross-Platform UI Tests Library unoapp-uitest [C#] Cross-platform/Uno Platform/UITest/Android/iOS/WebAssembly/dotnet-new
Cross-Runtime Library unolib-crossruntime [C#] Cross-platform/Uno Platform/Library/Android/iOS/Windows/macOS/Linux/WebAssembly/dotnet-new
Multi-Platform App unoapp [C#] Multi-platform/Uno Platform/Android/iOS/Windows/macOS/Linux/Tizen/WebAssembly/dotnet-new
Multi-Platform App (net6) unoapp-net6 [C#] Multi-platform/Uno Platform/Android/iOS/Windows/macOS/Linux/WebAssembly/dotnet-new
Multi-Platform App (WinUI) unoapp-winui [C#] Multi-platform/Uno Platform/Android/iOS/Windows/macOS/Linux/WebAssembly/WinUI/dotnet-new
Multi-Platform App net6 (WinUI) unoapp-winui-net6 [C#] Multi-platform/Uno Platform/Android/iOS/Windows/macOS/Linux/WebAssembly/WinUI/dotnet-new
Uno Platform WebAssembly Head for Xamarin.Forms wasmxfhead [C#] Cross-platform/Uno Platform/Xamarin.Forms/WebAssembly/dotnet-new
I used uno-check --preview:
dotnet tool update -g uno.check
Tool 'uno.check' was reinstalled with the latest stable version (version '1.3.1').
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|