-
Notifications
You must be signed in to change notification settings - Fork 119
/
SadConsole.Host.MonoGameWPF.csproj
53 lines (44 loc) · 2.56 KB
/
SadConsole.Host.MonoGameWPF.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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\MSBuild\Common.props" />
<PropertyGroup>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
<!--<Nullable>enable</Nullable>-->
<Version>$(SadConsole_Host_MonoGameWPF_Version)</Version>
<Version Condition="'$(Configuration)'=='Debug'">$(Version)-debug</Version>
<AssemblyTitle>SadConsole WPF/MonoGame Host</AssemblyTitle>
<Description>A graphics hosting library for SadConsole that targets MonoGame and WPF.</Description>
<PackageId>SadConsole.Host.MonoGameWPF</PackageId>
<PackageTags>sadconsole;monogame;roguelike;cli;xna;game;development;console;ansi;ascii;textmode;dotnet;wpf</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>
<PropertyGroup>
<UseProjectReferences>true</UseProjectReferences>
<DefineConstants>$(DefineConstants);MONOGAME;WPF</DefineConstants>
<RootNamespace>SadConsole.Host.MonoGame</RootNamespace>
</PropertyGroup>
<!-- Handle WPF and non WPF versions -->
<ItemGroup>
<PackageReference Include="MonoGame.Framework.WpfInterop" Version="1.9.2" />
<PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.1.303" />
<Compile Include="..\SadConsole.Host.MonoGame\**\*.cs" Exclude="..\SadConsole.Host.MonoGame\obj\**\*.cs" />
<Compile Remove="..\SadConsole.Host.MonoGame\**\*.Mono.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Condition=" '$(UseProjectReferences)' == 'true' " Include="..\SadConsole\SadConsole.csproj" />
<PackageReference Condition=" '$(UseProjectReferences)' != 'true' " Include="SadConsole" Version="$(SadConsole_Version)" />
<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>
<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>