35 行
1.7 KiB
XML
35 行
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<Platforms>x64;ARM64</Platforms>
|
|
<DefineConstants>$(DefineConstants);SAMPLE_APP</DefineConstants>
|
|
<NoWarn>$(NoWarn);CA1416</NoWarn>
|
|
<ImplicitUsings>true</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<!-- NativeAOT settings -->
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<PublishAot>true</PublishAot>
|
|
<EventSourceSupport>false</EventSourceSupport>
|
|
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
<DebuggerSupport>false</DebuggerSupport>
|
|
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
|
|
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
|
|
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\ComputeSharp.Core\ComputeSharp.Core.csproj" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp\ComputeSharp.csproj" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="..\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems" Label="Shared" />
|
|
|
|
</Project>
|