2020-01-16 22:52:41 +00:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<DebugType>pdbonly</DebugType>
|
|
|
|
|
<DefineConstants>TRACE</DefineConstants>
|
2020-01-19 21:08:47 +00:00
|
|
|
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
2020-01-16 22:52:41 +00:00
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<Optimize>true</Optimize>
|
|
|
|
|
<OutputPath>./bin</OutputPath>
|
|
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
|
|
|
</PropertyGroup>
|
2020-01-19 02:53:24 +00:00
|
|
|
|
<ItemGroup>
|
2020-01-19 21:08:47 +00:00
|
|
|
|
<!-- svnrev.cs / VersionInfo.cs are only used in other projects -->
|
|
|
|
|
<Compile Include="dummy.cs" /><!-- there was a bug in 1.x when no source files were included, including an empty file fixed it -->
|
2020-01-19 02:53:24 +00:00
|
|
|
|
</ItemGroup>
|
2020-01-16 22:52:41 +00:00
|
|
|
|
<Target Name="Build">
|
2020-01-19 21:08:47 +00:00
|
|
|
|
<!-- when is this called? it has never run and failed on Linux -->
|
2020-01-16 22:52:41 +00:00
|
|
|
|
<Exec Command=""$(MSBuildProjectDirectory)\subwcrev.bat" $(MSBuildProjectDirectory)" Condition=" '$(OS)' == 'Windows_NT' " WorkingDirectory="$(MSBuildProjectDirectory)" />
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="PreBuild" AfterTargets="PreBuildEvent">
|
|
|
|
|
<Exec Command='"$(ProjectDir)..\Build\BizHawk.Build.Tool.exe" GIT_REV --wc "$(ProjectDir).." --template "$(ProjectDir)svnrev_template" --out "$(ProjectDir)svnrev.cs"' Condition=" '$(OS)' == 'Windows_NT' " />
|
|
|
|
|
<Exec Command='"$(ProjectDir)../Build/standin.sh"' Condition=" '$(OS)' != 'Windows_NT' " />
|
|
|
|
|
</Target>
|
2018-02-16 00:10:43 +00:00
|
|
|
|
</Project>
|