-
Notifications
You must be signed in to change notification settings - Fork 344
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
Setting WindowsPackageType to None makes Visual Studio think it is missing SDK references #2870
Comments
Just curious. I also ran into the, somewhat same issue with This is what I got when I set the WindowsPackageType property to none. |
In a C# project I do not see any build errors. |
I was able to repro the issue. All locations referenced via VS are on my computer. I verified all of them. @btueffers do you know of any VS folks who could chime in and tell us what the issue is? Dotnet restore does not work. Says everything is up to date. @DrusTheAxe do you know if WASDK behind-the-scenes magic adds SDK depdencies? |
If you're making a packaged app then yes, I think VCLibs may be automagically added to your manifest. Not sure that's going on here or any other 'magic' VS props/targets may be doing. But I know who to ask ;-) |
This issue is fixed in the next release of Windows App SDK, 1.2 Preview 1. Internal: |
Tight. Can this be closed then? |
It's generally best to leave closing to the opener, after verifying. |
With WASDK 1.2 and Visual Studio 17.4.1 no more SDK node is being shown, so i guess this is fixed. |
Describe the bug
Setting WindowsPackageType to None makes Visual Studio think it is missing SDK references. I could not find any information on how to resolve this, the project builds and runs fine. Is there something wrong with my installation or is this common behaviour?
What needs to be done to get rid of those exclamation marks?
Steps to reproduce the bug
<WindowsPackageType>None</WindowsPackageType>
Expected behavior
No response
Screenshots
No response
NuGet package version
1.1.4
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: