Impossible to compile in Release with the WinAppSDK Unpackaged target #16753
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
I get the following error with a brand new project or my current project:
C:\Users\USERNAME.nuget\packages\microsoft.windowsappsdk\1.5.240404000\buildTransitive\Microsoft.WindowsAppSDK.SelfContained.targets(36,9): error : The platform 'AnyCPU' is not supported for Self Contained mode.
Expected behavior
It should compile as debug
How to reproduce it (as minimally and precisely as possible)
1- Create new project
2- Select Release
3- F5 / Compile
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
Windows (WinAppSDK)
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: