consolidate dll list in one place

This commit is contained in:
Hanz 2025-08-13 22:14:24 -05:00
parent 974cadcf90
commit b36fbe99d8
15 changed files with 158 additions and 614 deletions

42
Directory.Build.props Normal file
View file

@ -0,0 +1,42 @@
<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 &quot;$(OutputPath)$(TargetName).dll&quot; del /F /Q &quot;$(OutputPath)$(TargetName).dll&quot;" /> -->
<!-- </Target> -->
<!-- Import all CVR and MelonLoader Managed Refs -->
<Import Project="References.Items.props" />
</Project>