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

Add support for .globalconfig #970

Open
ChristopherHaws opened this issue May 10, 2023 · 0 comments
Open

Add support for .globalconfig #970

ChristopherHaws opened this issue May 10, 2023 · 0 comments

Comments

@ChristopherHaws
Copy link

ChristopherHaws commented May 10, 2023

Hey there! I have a .globalconfig file in the root of my projects repo but changes to it don't seem to get picked up by the LSP. In order for the changes to take effect, I have to restart VS Code.

I have tried adding the config file to Directory.Build.props, but the LSP still doesn't detect the changes and MSBuild complains about there being duplicate files added.

<ItemGroup Label="GlobalAnalyzers">
    <GlobalAnalyzerConfigFiles Include="$([System.IO.Path]::Combine($(MSBuildThisFileDirectory), '.globalconfig'))" />
</ItemGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant