-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean install on an snapdragon surface laptop 7 with vs community edition and you create a new winui project and change nothing just hit F5 and boom instant error #4779
Comments
updated to preview of VS 2022 and got more fun errors Found conflicts between different versions of "WinRT.Runtime" that could not be resolved. FYI have 8.0.402 of .NET installed and Microsoft.WindowsSDK.10.0.18362 , Microsoft.Windows.SDK.BuildTools 10.0.26100.1742 and 1.6.240923002 of Windows App SDK dotnet --list-sdks |
add
Severity Code Description Project File Line Suppression State but the app does at least run. THe question really is if this is required to make the app run why isn't it in the project file by default? Developers shouldn't have to hand edit a project file just to make a basic hello world work |
The October .NET SDK servicing update has the right versions for projects with WinAppSDK 1.6 to build. This should also be available through Visual Studio updates too. The error message when we put it in did say Let me know if you still run into issues after building with the October .NET SDK update. |
Describe the bug
Install VS community edition (doesn't seem to matter whether it's GA or preview) and create a new WinUI project. Once it's done just hit F5 and you get:
Severity Code Description Project File Line Suppression State Details
Error (active) This version of the Windows App SDK requires Microsoft.Windows.SDK.NET.Ref or later.
Please update to .NET SDK 6.0.134, 6.0.426, 8.0.109, 8.0.305 or 8.0.402 (or later).
Or add a temporary Microsoft.Windows.SDK.NET.Ref reference which can be added with:
App1 C:\Users\andre.nuget\packages\microsoft.windowsappsdk\1.6.240923002\buildTransitive\Microsoft.WindowsAppSDK.targets 76
Steps to reproduce the bug
See above but:
Expected behavior
IJFW
Screenshots
No response
NuGet package version
Windows App SDK 1.6.1: 1.6.240923002
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022-preview, Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: