Skip to content
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

Hide AdditionalFiles from Analyzers in SolutionExplorer #223

Closed
ghost opened this issue Feb 28, 2018 · 2 comments
Closed

Hide AdditionalFiles from Analyzers in SolutionExplorer #223

ghost opened this issue Feb 28, 2018 · 2 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Feb 28, 2018

Since these files are only for internal usage of the analyzers it would be nice if they wouldn't show up in the root of the project. For me the following works fine:

<AdditionalFiles Include="$(MSBuildThisFileDirectory)AdditionalFiles\**" Visible="false" />
@AArnott
Copy link
Member

AArnott commented Feb 28, 2018

Thanks for reporting this. Can you tell me which version of the analyzers you have installed, and into which kind of project?
I'm surprised the files show up because I thought items brought in via MSBuild imports were invisible by default.

@ghost
Copy link
Author

ghost commented Feb 28, 2018

I'm using the latest version 15.6.44. These files didn't show up before (I skipped 15.6.31 and used 15.6.11-beta before). The project is a new .NET Core csproj format. This shows also files from imports, at least for some file types (including txt).

@AArnott AArnott self-assigned this Mar 1, 2018
@AArnott AArnott added this to the v15.6 milestone Mar 1, 2018
AArnott added a commit that referenced this issue Mar 1, 2018
@AArnott AArnott closed this as completed Mar 1, 2018
AArnott pushed a commit to AArnott/vs-threading that referenced this issue Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant