sts2-bot/ui/JevOverlay/JevOverlay.csproj

27 lines
1.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<AssemblyName>JevOverlay</AssemblyName>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<ItemGroup>
<Compile Include="Mod.cs" />
<Compile Include="Core/**/*.cs" />
<Compile Include="UI/**/*.cs" />
<Reference Include="sts2">
<HintPath>$(STS2GameDataDir)/sts2.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="GodotSharp">
<HintPath>$(STS2GameDataDir)/GodotSharp.dll</HintPath>
<Private>false</Private>
</Reference>
<None Include="JevOverlay.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<Target Name="CheckGameReferences" BeforeTargets="ResolveReferences">
<Error Condition="!Exists('$(STS2GameDataDir)/sts2.dll') or !Exists('$(STS2GameDataDir)/GodotSharp.dll')"
Text="Set STS2GameDataDir to the installed game's data directory containing sts2.dll and GodotSharp.dll." />
</Target>
</Project>