Skip to content

Commit dc37e31

Browse files
committed
Re-added attributes dll back to nuget output
1 parent d04f69c commit dc37e31

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/PublicInterfaceGenerator.Attributes/PublicInterfaceGenerator.Attributes.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@
2020
<NuGetAuditMode>all</NuGetAuditMode>
2121
<NuGetAuditLevel>low</NuGetAuditLevel>
2222
</PropertyGroup>
23+
<ItemGroup>
24+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
25+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.13.0" PrivateAssets="all" />
26+
</ItemGroup>
2327
</Project>

src/PublicInterfaceGenerator/PublicInterfaceGenerator.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
<ItemGroup>
4242
<!-- Package the generator in the analyzer directory of the nuget package -->
4343
<None Include="$(OutputPath)/$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
44+
<!-- Pack the attributes dll in the lib\netstandard2.0 path so the library consuming this nuget can use it -->
45+
<None Include="$(OutputPath)/ProgrammerAl.SourceGenerators.PublicInterfaceGenerator.Attributes.dll" Pack="true" PackagePath="lib/netstandard2.0" Visible="false" />
4446
<None Include="../../README.md" Pack="true" PackagePath="/" />
4547
</ItemGroup>
4648
<PropertyGroup>

0 commit comments

Comments
 (0)