Skip to content

Commit

Permalink
Merge branch 'GetUsedAssemblyReferences' of https://github.com/stan-s…
Browse files Browse the repository at this point in the history
…z/ReferenceTrimmer into GetUsedAssemblyReferences
  • Loading branch information
stan-sz committed Jan 4, 2023
2 parents b522735 + 0f40e0c commit b98f1d3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/AnalyzerReleases.Shipped.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

Rule ID | Category | Severity | Notes
--------|----------|----------|--------------------
DOC001 | Documentation | Warning | See https://github.com/dotnet/roslyn/issues/66188
DOC001 | Documentation | Warning | See https://github.com/dotnet/roslyn/issues/66188
5 changes: 5 additions & 0 deletions src/ReferenceTrimmer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<OutputItemType>ReferenceTrimmerAnalyzerTargetPath</OutputItemType>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\analyzer\ReferenceTrimmerAnalyzer.csproj" ReferenceOutputAssembly="false">
<OutputItemType>ReferenceTrimmerAnalyzerTargetPath</OutputItemType>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="build\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
2 changes: 2 additions & 0 deletions src/ReferenceTrimmerTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public sealed class ReferenceTrimmerTask : MSBuildTask

public ITaskItem[] UsedReferences { get; set; }

public ITaskItem[] UsedReferences { get; set; }

public ITaskItem[] References { get; set; }

public ITaskItem[] ProjectReferences { get; set; }
Expand Down
1 change: 1 addition & 0 deletions test/E2ETests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void UsedIndirectPackageReference()
}

[TestMethod]
[Ignore("https://github.com/dotnet/roslyn/issues/66188")]
public void UnusedPackageReference()
{
RunMSBuild(
Expand Down

0 comments on commit b98f1d3

Please sign in to comment.