59 lines
2.5 KiB
XML
59 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
<AssemblyName>BD2LoginUI</AssemblyName>
|
|
<RootNamespace>Bd2LoginUI</RootNamespace>
|
|
<BD2PluginVersionKey>login_ui</BD2PluginVersionKey>
|
|
<BD2ManagedDir Condition="'$(BD2ManagedDir)' == ''">$(GameDir)\BrownDust II_Data\Managed</BD2ManagedDir>
|
|
<BD2BepInExDir Condition="'$(BD2BepInExDir)' == ''">$(GameDir)\BepInEx</BD2BepInExDir>
|
|
</PropertyGroup>
|
|
<Target Name="RequireGameDir" BeforeTargets="ResolveReferences" Condition="'$(GameDir)' == ''">
|
|
<Error Text="GameDir is required. Build with -p:GameDir=<local-client-directory>." />
|
|
</Target>
|
|
<ItemGroup>
|
|
<Reference Include="BepInEx">
|
|
<HintPath>$(BD2BepInExDir)\core\BepInEx.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="0Harmony">
|
|
<HintPath>$(BD2BepInExDir)\core\0Harmony.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.CoreModule">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.CoreModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.ImageConversionModule">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.ImageConversionModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.JSONSerializeModule">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.JSONSerializeModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UnityWebRequestModule">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.UnityWebRequestModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UI">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.UI.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.UIModule">
|
|
<HintPath>$(BD2ManagedDir)\UnityEngine.UIModule.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Assets\Discord-Symbol.png" LogicalName="Bd2LoginUI.Assets.Discord-Symbol.png" />
|
|
<EmbeddedResource Include="Assets\Discord-Wordmark.png" LogicalName="Bd2LoginUI.Assets.Discord-Wordmark.png" />
|
|
</ItemGroup>
|
|
<Import Project="..\VersionSource.targets" />
|
|
</Project>
|