44 行
1.6 KiB
XML
44 行
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
|
<OutputPath>bin\Release</OutputPath>
|
|
<DocumentationFile>ComputeSharp.Core.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="ComputeSharp" />
|
|
<InternalsVisibleTo Include="ComputeSharp.Dynamic" />
|
|
<InternalsVisibleTo Include="ComputeSharp.Pix" />
|
|
<InternalsVisibleTo Include="ComputeSharp.Uwp" />
|
|
<InternalsVisibleTo Include="ComputeSharp.WinUI" />
|
|
<InternalsVisibleTo Include="ComputeSharp.D2D1" />
|
|
</ItemGroup>
|
|
|
|
<!-- .NET Standard 2.0 polyfill packages -->
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
|
<PackageReference Include="System.Memory" Version="4.5.5" />
|
|
</ItemGroup>
|
|
|
|
<!-- T4 template generation service -->
|
|
<ItemGroup>
|
|
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
|
|
</ItemGroup>
|
|
|
|
<!-- Import all .tt files with their generated .g.cs files -->
|
|
<ItemGroup>
|
|
<None Update="**\*.tt">
|
|
<LastGenOutput>%(Filename).g.cs</LastGenOutput>
|
|
<Generator>TextTemplatingFileGenerator</Generator>
|
|
</None>
|
|
<Compile Update="**\*.g.cs">
|
|
<DependentUpon>$([System.IO.Path]::GetFileNameWithoutExtension('%(Filename)')).tt</DependentUpon>
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<!-- Shared project with .NET Standard 2.0 polyfills -->
|
|
<Import Condition="'$(TargetFramework)' == 'netstandard2.0'" Project="..\ComputeSharp.Core.NetStandard\ComputeSharp.Core.NetStandard.projitems" Label="Shared" />
|
|
</Project>
|