ファイル
ComputeSharp/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj
T

45 行
2.0 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<SupportedOSVersion>windows6.1</SupportedOSVersion>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="ComputeSharp.D2D1.Uwp, PublicKey=$(AssemblySignPublicKey)" />
<InternalsVisibleTo Include="ComputeSharp.D2D1.WinUI, PublicKey=$(AssemblySignPublicKey)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ComputeSharp.Core\ComputeSharp.Core.csproj" />
</ItemGroup>
<!-- .NET Standard 2.0 polyfill packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
</ItemGroup>
<!-- T4 template generation service (the .tt/.g.cs files are resolved in the .targets file) -->
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<!-- Shared project with the trimmed down fork of TerraFX.Interop.Windows with just the D3D bindings -->
<Import Project="..\TerraFX.Interop.Windows.D2D1\TerraFX.Interop.Windows.D2D1.projitems" Label="Shared" />
<!-- NuGet package info -->
<PropertyGroup Label="Package">
<Description>A library to write D2D1 pixel shaders entirely with C# code, and to easily register and create ID2D1Effect-s from them</Description>
</PropertyGroup>
<!-- NuGet package setup -->
<ItemGroup Label="Package">
<!-- Source generator reference -->
<ProjectReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="..\ComputeSharp.D2D1.SourceGenerators\ComputeSharp.D2D1.SourceGenerators.csproj" ReferenceOutputAssembly="false" />
<!-- Pack the source generator in the NuGet package for the project -->
<None Include="..\ComputeSharp.D2D1.SourceGenerators\bin\$(Configuration)\netstandard2.0\ComputeSharp.D2D1.SourceGenerators.dll" PackagePath="analyzers\dotnet\cs" Pack="true" Visible="false" />
</ItemGroup>
</Project>