Ensure that the Abstraction package contains the generator

This commit is contained in:
Koen Bekkenutte
2021-05-31 01:30:48 +08:00
parent fb135eeb23
commit 3970f05671
@@ -5,4 +5,17 @@
<RootNamespace>EntityFrameworkCore.Projections</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\EntityFrameworkCore.Projections.Generator\EntityFrameworkCore.Projections.Generator.csproj" Pack="false">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<OutputItemType>Content</OutputItemType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<!-- Package the generator in the analyzer directory of the nuget package -->
<None Include="$(OutputPath)\$(AssemblyName).Generator.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
</Project>