mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-08-31 13:29:27 +00:00
42 lines
1.8 KiB
XML
42 lines
1.8 KiB
XML
<Project>
|
|
|
|
<PropertyGroup>
|
|
<!-- Put your Chillout vr path in a new environnment variable CVRPATH in Windows -->
|
|
<OutputPath>$(CVRPATH)\Mods\</OutputPath>
|
|
<LangVersion>latest</LangVersion>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateDependencyFile>false</GenerateDependencyFile>
|
|
<!-- Required for NStrip to work -->
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>embedded</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>embedded</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<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"" />
|
|
</Target>
|
|
|
|
<!-- Import all CVR and MelonLoader Managed Refs (this file is generated by running copy_and_nscript_dll.ps1) -->
|
|
<Import Project="References.Items.props" />
|
|
|
|
</Project>
|