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 #1504
Comments
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. |
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 |
This issue was moved to dotnet/sdk#1157 |
use false instead of False |
Looks like this issue is back with Version 16.9.0 |
@baskren This is an old issue, could you file a new one with details / repro steps if you're still hitting something like this? Thanks, |
Done: #7002 |
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
The text was updated successfully, but these errors were encountered: