-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 EnableDefaultCompileItems to False doesn't remove the files from solution Explorer #1157
Comments
From @davkean on February 9, 2017 0:19 This is because |
Another side effect of this reported through VSFeedback is that when the user goes to add a cs file to the project in this state, the None glob picks it up and so it's not passed to the compiler as a source file. |
From @davkean on February 22, 2017 23:6 Ah, that's bad. |
Moving this to SDK since this is caused by the None globs - @dsplaisted are they really useful? I find the None globs more annoying than useful since it picks up all files in that folder |
@srivatsn , @livarcocc Any timeline for the fix or known workarounds? |
@dsplaisted for a work around. |
See dotnet/project-system#3181 (comment)
Yes, I think this is the right fix. |
@livarcocc @dsplaisted, we should probably re-triage this. It gets reported a lot and I think @davkean has a good, simple proposal to address it. |
Looks like this issue is back w/ Version 16.9.0 |
From @jinujoseph on February 8, 2017 23:9
Create a ClassLibrary (.Net Core)
Take a copy of Class1.cs and drop in the same folder
you will see of them included
Now edit the csproj and put the below information
Build again , it includes only Class1.cs but the solution explorer shows all files, expected ?
Build
26206.0.d15rel
Copied from original issue: dotnet/project-system#1504
The text was updated successfully, but these errors were encountered: