-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Disable the windows SDK automated references for c++ #28596
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
Disable the windows SDK automated references for c++ #28596
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have. any tests that cover C++ PackageReference projects? Did anyone manually test this at all?
I don't think our c++/cli tests are currently even enabled. I'm having a difficult time getting them to run or to manually test this. Any suggestions? |
They've been disabled for a long time (see #11008). I think you should be able to enable them locally and try running them in VS to get some projects that work. |
…T-disablewindowsdkforc++
Add a test for checking the default include windows SDK behavior for c++ cli
@dsplaisted I turned on the existing cppcl itests and added a new one. Want to review the new test? |
src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProject.cs
Show resolved
Hide resolved
src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProject.cs
Outdated
Show resolved
Hide resolved
src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProject.cs
Outdated
Show resolved
Hide resolved
src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildACppCliProject.cs
Outdated
Show resolved
Hide resolved
… how we set the target
Even with package references enabled in c++ projects, the windows references should not be included by default.
Fixes #26203