Skip to content

Commit

Permalink
Add LibraryImportGenerator to ref pack (dotnet#68247)
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung authored and directhex committed Apr 21, 2022
1 parent 89541a1 commit f1aeb28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<PackageProjectUrl>https://github.com/dotnet/runtime/tree/main/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator</PackageProjectUrl>
<Description>LibraryImportGenerator</Description>
<PackageTags>LibraryImportGenerator, analyzers</PackageTags>
<IsNETCoreAppAnalyzer>true</IsNETCoreAppAnalyzer>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,10 @@
<ItemGroup>
<ProjectReference Include="$(CoreLibProject)" />
</ItemGroup>
<ItemGroup>
<!-- Add the source generator as an analyzer reference so that it gets included in the ref pack.
See https://github.com/dotnet/runtime/issues/61321 -->
<AnalyzerReference Include="..\gen\LibraryImportGenerator\LibraryImportGenerator.csproj" />
</ItemGroup>

</Project>

0 comments on commit f1aeb28

Please sign in to comment.