[Proposal] Windows App SDK projects should be buildable with `dotnet` CLI
See original GitHub issue- Create blank template application
- Open folder for App1 in the x64 Dev tools
- run
dotnet run
...\nuget\packages\microsoft.projectreunion.foundation\0.8.0\build\Microsoft.ApplicationModel.Resources.PriGen.targets(386,5): error MSB4062: The "Microsoft.Build.AppxPackage.GetSdkFileFullPath" task could not be loaded from the assembly C:\Program Files\dotnet\sdk\6.0.100-preview.6.21315.23\\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.Build.AppxPackage.dll. Could not load file or assembly 'C:\Program Files\dotnet\sdk\6.0.100-preview.6.21315.23\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.Build.AppxPackage.dll'. The system cannot find the path specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [....\repos\App1\App1\App1\App1.csproj]
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Build desktop Windows apps with the Windows App SDK
The Windows App SDK is a set of new developer components and tools that represent the next evolution in the Windows app development...
Read more >Experimental release channel for the Windows App SDK
The experimental channel provides releases of the Windows App SDK that include ... API in your code, you will receive a build-time warning....
Read more >dotnet clean command - .NET CLI
Defines the build configuration. The default for most projects is Debug , but you can override the build configuration settings in your project....
Read more >Use the Windows Compatibility Pack to port code - .NET Core
Learn about the Windows Compatibility Pack and how can you use it to port existing .NET Framework code to .NET.
Read more >Create a .NET Core application with plugins
Author plugins that can be easily deployed by just copying the build artifacts. Prerequisites. Install the .NET 5 SDK or a newer version....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To clarify my earlier statement, building with
msbuild
on the command line works just fine; it’s thedotnet
CLI specifically that we do not yet support. Unfortunately, many of the build tasks we depend on are not compatible withdotnet
CLI as they target .NET Framework rather than .NET Standard, and as they are closed source (and I can’t speak to when they might be open sourced, if ever) I don’t think this is something the community can help us with. 😦@ianeuman Yes, please open a new issue in the WinAppSDK repo: https://github.com/microsoft/WindowsAppSDK/