mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2025-10-31 21:50:44 +07:00
36 lines
1.4 KiB
XML
36 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net46</TargetFramework>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<AssemblyName>project_name</AssemblyName>
|
|
</PropertyGroup>
|
|
|
|
<!-- Reference FNA project -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="../FNA/FNA.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- Include the Content directory (except for .fx files, since we use .fxb at runtime) -->
|
|
<ItemGroup>
|
|
<Content Include="Content/**/*.*" Exclude="**/*.fx">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<!-- Copy the correct fnalibs folder on Windows -->
|
|
<!-- Modified from Andrew Russell's template (https://github.com/AndrewRussellNet/FNA-Template/blob/master/build/CopyFNALibs.targets) -->
|
|
<ItemGroup>
|
|
<Content Include="..\fnalibs\x86\**\*.*" Condition="'$(OS)' == 'Windows_NT' AND '$(Platform)' != 'x64'">
|
|
<Link>x86\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\fnalibs\x64\**\*.*" Condition="'$(OS)' == 'Windows_NT' AND '$(Platform)' != 'x86'">
|
|
<Link>x64\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
</Project> |