mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 10:29:22 +00:00
31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<Project>
|
|
|
|
<PropertyGroup>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateDependencyFile>false</GenerateDependencyFile>
|
|
<LangVersion>latest</LangVersion>
|
|
<!-- Put your ChilloutVR path in a new environnment variable CVRPATH -->
|
|
<OutputPath>$(CVRPATH)/Mods/</OutputPath>
|
|
<Platforms>x64</Platforms>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>embedded</DebugType>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<!-- Hack! MelonLoader is locking the Mod files, this way I can build and output the mod dll with the game running -->
|
|
<Target Name="DeleteOutputDLLIfExists" BeforeTargets="BeforeBuild">
|
|
<Exec Command="if exist "$(OutputPath)$(TargetName).dll" del /F /Q "$(OutputPath)$(TargetName).dll"" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
|
|
</Target>
|
|
|
|
<!-- Import all CVR and MelonLoader Managed Refs -->
|
|
<Import Project="References.Items.props" />
|
|
|
|
</Project>
|