Skip to content

Commit

Permalink
Fix analyzer reference in AuditReports package (#5894)
Browse files Browse the repository at this point in the history
Fix regression due to #5531

It broke the AuditReports extension since it will not be able to resolve the dependency on Microsoft.Gen.MetadataExtractor.
  • Loading branch information
dariusclay authored Feb 14, 2025
1 parent 19b1278 commit 0c97648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,13 @@
<Compile Include="..\Microsoft.Gen.Metrics\*.cs" LinkBase="Microsoft.Gen.Metrics" />
<Compile Include="..\Microsoft.Gen.Shared\*.cs" LinkBase="Microsoft.Gen.Metrics" />
<Compile Include="..\Microsoft.Gen.Shared\*.cs" LinkBase="Microsoft.Gen.Metrics" />



</ItemGroup>

<ItemGroup>
<AnalyzerReference Include="..\..\Generators\Microsoft.Gen.ComplianceReports\Microsoft.Gen.ComplianceReports.csproj" />
<AnalyzerReference Include="..\..\Generators\Microsoft.Gen.MetricsReports\Microsoft.Gen.MetricsReports.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Gen.Metrics\Microsoft.Gen.Metrics.csproj" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleToTest Include="Microsoft.Gen.MetadataExtractor.Unit.Tests" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@
<MinMutationScore>n/a</MinMutationScore>
</PropertyGroup>


<ItemGroup>
<None Include="buildTransitive\*" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="buildTransitive" />
<AnalyzerReference Include="..\..\Generators\Microsoft.Gen.MetadataExtractor\Microsoft.Gen.MetadataExtractor.csproj" />
</ItemGroup>


<ItemGroup>
<ProjectReference Include="..\..\Generators\Microsoft.Gen.MetadataExtractor\Microsoft.Gen.MetadataExtractor.csproj" />
<None Include="buildTransitive\*" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="buildTransitive" />
</ItemGroup>

</Project>

0 comments on commit 0c97648

Please sign in to comment.