-
Notifications
You must be signed in to change notification settings - Fork 119
/
SadConsole.Host.MonoGame.csproj
54 lines (45 loc) · 2.39 KB
/
SadConsole.Host.MonoGame.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\MSBuild\Common.props" />
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<!--<Nullable>enable</Nullable>-->
<Version>$(SadConsole_Host_MonoGame_Version)</Version>
<AssemblyTitle>SadConsole MonoGame Host</AssemblyTitle>
<Description>A graphics hosting library for SadConsole that targets MonoGame.</Description>
<PackageId>SadConsole.Host.MonoGame</PackageId>
<PackageTags>sadconsole;monogame;roguelike;cli;xna;game;development;console;ansi;ascii;textmode;dotnet</PackageTags>
<PackageReleaseNotes>
- Reversioned to follow new versioning scheme.
- Configuration namespace was moved to SadConsole directly. Only library specific config options are here now.
</PackageReleaseNotes>
</PropertyGroup>
<!-- Custom properties -->
<PropertyGroup>
<UseProjectReferences>true</UseProjectReferences>
<DefineConstants>$(DefineConstants);MONOGAME</DefineConstants>
</PropertyGroup>
<ItemGroup>
<!-- Get rid of the WPF-specific files -->
<Compile Remove="**\*.Wpf.cs" />
<Compile Remove="Xaml\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Condition=" '$(UseProjectReferences)' == 'true' " Include="..\SadConsole\SadConsole.csproj" />
<PackageReference Condition=" '$(UseProjectReferences)' != 'true' " Include="SadConsole" Version="$(SadConsole_Version)" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.1.303" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="..\SadConsole\Resources\nugeticon.png" pack="true" PackagePath="." />
<None Include="..\SadConsole\Resources\readme.txt" pack="true" PackagePath="." />
<None Include="README.md" pack="true" PackagePath="." />
</ItemGroup>
<ItemGroup>
<Folder Include="Configuration\" />
</ItemGroup>
<Target Name="CopyPackage" AfterTargets="Pack">
<Copy SourceFiles="$(OutputPath)\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="$(OutputPath)..\..\..\nuget" />
<Copy SourceFiles="$(OutputPath)\$(PackageId).$(PackageVersion).snupkg" DestinationFolder="$(OutputPath)..\..\..\nuget" />
</Target>
<Import Project="..\SadConsole.Host.Shared\SadConsole.Host.Shared.projitems" Label="Shared" />
</Project>