Skip to content

Conversation

@jtschuster
Copy link
Member

@jtschuster jtschuster commented Aug 11, 2022

Analyzers look for a newer version of Microsoft.CodeAnalysis than exists in the latest version of Visual Studio, and so they don't run in FullFramework tests in dotnet/sdk#26993. This reverts the version used in the analyzers.

PR #2969 will undo this change once Visual Studio ships with the correct version of Microsoft.CodeAnalysis.

Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

<ItemGroup>
<None Include="Microsoft.NET.ILLink.Analyzers.props" CopyToOutputDirectory="PreserveNewest" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisVersion)" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.0-2.final" PrivateAssets="all" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please add a comment explaining why this doesn't use the property

@jtschuster jtschuster enabled auto-merge (squash) August 12, 2022 00:10
@jtschuster jtschuster merged commit 81ffbb5 into dotnet:main Aug 12, 2022
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Analyzers look for a newer version of Microsoft.CodeAnalysis than exists in the latest version of Visual Studio, and so they don't run in FullFramework tests in dotnet/sdkdotnet/linker#26993. This reverts the version used in the analyzers.

PR dotnet/linker#2969 will undo this change once Visual Studio ships with the correct version of Microsoft.CodeAnalysis.

Commit migrated from dotnet/linker@81ffbb5
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

Successfully merging this pull request may close these issues.

2 participants