dotnet / dotnet/project-system

Roslyn does not pick changes to a ruleset

Open
#4,566 0 comments 0 reactions 1 assignee Claimed by @davkean View on GitHub
Feature-Language-Service Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Unlike an editorconfig, modifying a ruleset does not cause Roslyn to pick up the changes. This is very likely because we're not calling IWorkspaceProjectContext.SetRuleSet. You need to close and reopen the solution to have it pick up the changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.