39 lines
1.5 KiB
XML
39 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
<AssemblyName>BD2CaptureEnvironment</AssemblyName>
|
|
<RootNamespace>Bd2CaptureEnvironment</RootNamespace>
|
|
</PropertyGroup>
|
|
<Target Name="RequireGameDir" BeforeTargets="ResolveReferences" Condition="'$(GameDir)' == ''">
|
|
<Error Text="GameDir is required. Build with -p:GameDir=<official-client-directory>." />
|
|
</Target>
|
|
<ItemGroup>
|
|
<Reference Include="BepInEx">
|
|
<HintPath>$(GameDir)\BepInEx\core\BepInEx.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="0Harmony">
|
|
<HintPath>$(GameDir)\BepInEx\core\0Harmony.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.CoreModule">
|
|
<HintPath>$(GameDir)\BrownDust II_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine">
|
|
<HintPath>$(GameDir)\BrownDust II_Data\Managed\UnityEngine.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UnityWebRequestModule">
|
|
<HintPath>$(GameDir)\BrownDust II_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="Google.Protobuf">
|
|
<HintPath>$(GameDir)\BrownDust II_Data\Managed\Google.Protobuf.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</Project>
|