62 lines
No EOL
2.3 KiB
XML
62 lines
No EOL
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<RollForward>Major</RollForward>
|
|
<PublishReadyToRun>false</PublishReadyToRun>
|
|
<TieredCompilation>false</TieredCompilation>
|
|
<LangVersion>14</LangVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<ApplicationIcon>Icon.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<OutputPath>../bin/Client/</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<OutputPath>../bin/Debug/Client/</OutputPath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<None Remove="Icon.ico"/>
|
|
<None Remove="Icon.bmp"/>
|
|
<None Remove="Input\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Icon.ico">
|
|
<LogicalName>Icon.ico</LogicalName>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Icon.bmp">
|
|
<LogicalName>Icon.bmp</LogicalName>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Remove="Input\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="LiteNetLib" Version="1.3.1" />
|
|
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.*"/>
|
|
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="link\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="MonoGameLibrary">
|
|
<HintPath>link\MonoGameLibrary.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\GlobalClassLib\GlobalClassLib.csproj" />
|
|
<ProjectReference Include="..\PacketLib\PacketLib.csproj" />
|
|
|
|
</ItemGroup>
|
|
<Target Name="RestoreDotnetTools" BeforeTargets="CollectPackageReferences">
|
|
<Message Text="Restoring dotnet tools (this might take a while depending on your internet speed and should only happen upon building your project for the first time, or after upgrading MonoGame, or clearing your nuget cache)" Importance="High"/>
|
|
<Exec Command="dotnet tool restore"/>
|
|
</Target>
|
|
<ItemGroup>
|
|
<Content Include="settings\*">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project> |