Skip to content

Commit 9a54a5d

Browse files
committed
Enable Packing of CodeFixes
1 parent 064912e commit 9a54a5d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/ReactiveUI.SourceGenerators.CodeFixers/ReactiveUI.CodeFixes.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111
<IncludeBuildOutput>false</IncludeBuildOutput>
1212
<PackageDescription>A MVVM framework that integrates with the Reactive Extensions for .NET to create elegant, testable User Interfaces that run on any mobile or desktop platform. This is the Source Generators package for ReactiveUI</PackageDescription>
1313

14-
<IsPackable>false</IsPackable>
1514
</PropertyGroup>
1615

1716
<ItemGroup>
1817
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" PrivateAssets="all" />
1918
</ItemGroup>
19+
20+
<!-- This ensures the library will be packaged as a source generator when we use `dotnet pack` -->
21+
<ItemGroup>
22+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
23+
</ItemGroup>
2024
</Project>

src/ReactiveUI.SourceGenerators/ReactiveUI.SourceGenerators.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
<!-- This ensures the library will be packaged as a source generator when we use `dotnet pack` -->
5151
<ItemGroup>
5252
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
53-
<None Include="$(OutputPath)\ReactiveUI.CodeFixes.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
5453
</ItemGroup>
5554

5655
<!-- Include PolySharp generated code -->

0 commit comments

Comments
 (0)