Centralize packing source generators in .targets file

このコミットが含まれているのは:
Sergio Pedri committed 2023-04-22 12:15:58 +02:00
1 親 129268ffb6
コミット cf478e4421
4ファイル変更
+17 -30

検索条件に一致するファイルはありません

-10
ファイルの表示
@@ -31,14 +31,4 @@
<PropertyGroup Label="Package">
<Description>A library containing basic primitives to support ComputeSharp (this package is not supposed to be referenced directly by developers)</Description>
</PropertyGroup>
<!-- NuGet package setup -->
<ItemGroup Label="Package">
<!-- Source generator reference -->
<ProjectReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="..\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" ReferenceOutputAssembly="false" />
<!-- Pack the source generator in the NuGet package for the project -->
<None Include="..\ComputeSharp.Core.SourceGenerators\bin\$(Configuration)\netstandard2.0\ComputeSharp.Core.SourceGenerators.dll" PackagePath="analyzers\dotnet\cs" Pack="true" Visible="false" />
</ItemGroup>
</Project>