44 lines
1.8 KiB
XML
44 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!-- RimWorld 1.7 runs on .NET 10 (CoreCLR). Build: dotnet build -c Release -->
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<AssemblyName>BlaxSlaves</AssemblyName>
|
|
<RootNamespace>BlaxSlaves</RootNamespace>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<OutputPath>..\..\1.7\Assemblies\</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<GenerateDependencyFile>false</GenerateDependencyFile>
|
|
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
|
|
<DebugType>portable</DebugType>
|
|
<Deterministic>true</Deterministic>
|
|
<!-- Keep local paths out of the shipped DLL/PDB. -->
|
|
<PathMap>$(MSBuildProjectDirectory)=Source/BlaxSlaves</PathMap>
|
|
</PropertyGroup>
|
|
|
|
<!-- Override on the command line if the game or the Harmony mod live elsewhere. -->
|
|
<PropertyGroup>
|
|
<RimWorldDir Condition="'$(RimWorldDir)' == ''">E:\SteamLibrary\steamapps\common\RimWorld</RimWorldDir>
|
|
<HarmonyDir Condition="'$(HarmonyDir)' == ''">E:\SteamLibrary\steamapps\workshop\content\294100\2009463077\1.7\Assemblies</HarmonyDir>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Assembly-CSharp">
|
|
<HintPath>$(RimWorldDir)\Assembly-CSharp.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityStubs">
|
|
<HintPath>$(RimWorldDir)\UnityStubs.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="0Harmony">
|
|
<HintPath>$(HarmonyDir)\0Harmony.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|