Skip to content

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

Merged
merged 4 commits into from
Nov 18, 2022

Conversation

marcpopMSFT
Copy link
Member

Even with package references enabled in c++ projects, the windows references should not be included by default.

Fixes #26203

@ghost ghost added the Area-NetSDK label Oct 14, 2022
Copy link
Member

@dsplaisted dsplaisted left a 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?

@marcpopMSFT
Copy link
Member Author

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?

@dsplaisted
Copy link
Member

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.

Add a test for checking the default include windows SDK behavior for c++ cli
@marcpopMSFT
Copy link
Member Author

@dsplaisted I turned on the existing cppcl itests and added a new one. Want to review the new test?

@marcpopMSFT marcpopMSFT merged commit a8daad6 into release/7.0.2xx Nov 18, 2022
@marcpopMSFT marcpopMSFT deleted the marcpopMSFT-disablewindowsdkforc++ branch November 18, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants