forked from dotnet/msbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not run analyzers for XamlPreCompile. (dotnet#6676)
Fixes dotnet/sdk#17890; fixes dotnet/roslyn#54774 ### Context dotnet#6096 updated the ```XamlPreCompile``` target to be up to date with Roslyn to make sure source generators work for this target as well. However, it also enabled analyzers to run even though none of the targets such as ```CoreGenerateAssemblyInfo``` or ```_ComputeSkipAnalyzers``` are setup correctly to also run before ```XamlPreCompile```. ### Changes Made This PR reverts parts of dotnet#6096 by setting SkipAnalyzers to true for the ```XamlPreCompile``` target but still pass in Analyzers so source generators continue to work. ### Testing Verified that warnings from mentioned issues go away.
- Loading branch information
Showing
1 changed file
with
65 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters