-
Notifications
You must be signed in to change notification settings - Fork 14
/
Rampastring.XNAUI.csproj
153 lines (153 loc) · 10.7 KB
/
Rampastring.XNAUI.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(Configuration)' == 'UniversalGLDebug' Or '$(Configuration)' == 'UniversalGLRelease'">net8.0</TargetFramework>
<TargetFrameworks Condition="'$(Configuration)' != 'UniversalGLDebug' And '$(Configuration)' != 'UniversalGLRelease'">net8.0-windows;net48</TargetFrameworks>
<UseWindowsForms Condition="'$(Configuration)' != 'UniversalGLDebug' And '$(Configuration)' != 'UniversalGLRelease'">true</UseWindowsForms>
<Title Condition="'$(Configuration)' == 'WindowsDXRelease'">Rampastring.XNAUI (WindowsDX)</Title>
<Title Condition="'$(Configuration)' == 'WindowsGLRelease'">Rampastring.XNAUI (WindowsGL)</Title>
<Title Condition="'$(Configuration)' == 'UniversalGLRelease'">Rampastring.XNAUI (UniversalGL)</Title>
<Title Condition="'$(Configuration)' == 'WindowsXNARelease'">Rampastring.XNAUI (XNA)</Title>
<Title Condition="'$(Configuration)' == 'WindowsDXDebug'">Rampastring.XNAUI (WindowsDX Debug Build)</Title>
<Title Condition="'$(Configuration)' == 'WindowsGLDebug'">Rampastring.XNAUI (WindowsGL Debug Build)</Title>
<Title Condition="'$(Configuration)' == 'UniversalGLDebug'">Rampastring.XNAUI (UniversalGL Debug Build)</Title>
<Title Condition="'$(Configuration)' == 'WindowsXNADebug'">Rampastring.XNAUI (XNA Debug Build)</Title>
<Description>Rampastring XNA/MonoGame UI Library</Description>
<Company>Rampastring</Company>
<Product>Rampastring.XNAUI</Product>
<Copyright>Copyright © Rami 'Rampastring' Pasanen 2016-2024</Copyright>
<Trademark></Trademark>
<AssemblyName Condition="'$(Configuration)' == 'WindowsDXRelease'">Rampastring.XNAUI.WindowsDX</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'WindowsGLRelease'">Rampastring.XNAUI.WindowsGL</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'UniversalGLRelease'">Rampastring.XNAUI.UniversalGL</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'WindowsXNARelease'">Rampastring.XNAUI.WindowsXNA</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'WindowsDXDebug'">Rampastring.XNAUI.WindowsDX.Debug</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'WindowsGLDebug'">Rampastring.XNAUI.WindowsGL.Debug</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'UniversalGLDebug'">Rampastring.XNAUI.UniversalGL.Debug</AssemblyName>
<AssemblyName Condition="'$(Configuration)' == 'WindowsXNADebug'">Rampastring.XNAUI.WindowsXNA.Debug</AssemblyName>
<RootNamespace>Rampastring.XNAUI</RootNamespace>
<ComVisible>false</ComVisible>
<CLSCompliant>false</CLSCompliant>
<LangVersion>preview</LangVersion>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Platforms>AnyCPU</Platforms>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<Configurations>WindowsDXDebug;WindowsDXRelease;WindowsGLDebug;WindowsGLRelease;WindowsXNADebug;WindowsXNARelease;UniversalGLDebug;UniversalGLRelease</Configurations>
<ComVisible>false</ComVisible>
<CLSCompliant>false</CLSCompliant>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PackageReadmeFile>README.md</PackageReadmeFile>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeXNAAssemblies</TargetsForTfmSpecificBuildOutput>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);IncludeDesktopGLAssemblies</TargetsForTfmSpecificContentInPackage>
<PackageId Condition="'$(Configuration)' == 'WindowsDXRelease'">Rampastring.XNAUI.WindowsDX</PackageId>
<PackageId Condition="'$(Configuration)' == 'WindowsGLRelease'">Rampastring.XNAUI.WindowsGL</PackageId>
<PackageId Condition="'$(Configuration)' == 'UniversalGLRelease'">Rampastring.XNAUI.UniversalGL</PackageId>
<PackageId Condition="'$(Configuration)' == 'WindowsXNARelease'">Rampastring.XNAUI.WindowsXNA</PackageId>
<PackageId Condition="'$(Configuration)' == 'WindowsDXDebug'">Rampastring.XNAUI.WindowsDX.Debug</PackageId>
<PackageId Condition="'$(Configuration)' == 'WindowsGLDebug'">Rampastring.XNAUI.WindowsGL.Debug</PackageId>
<PackageId Condition="'$(Configuration)' == 'UniversalGLDebug'">Rampastring.XNAUI.UniversalGL.Debug</PackageId>
<PackageId Condition="'$(Configuration)' == 'WindowsXNADebug'">Rampastring.XNAUI.WindowsXNA.Debug</PackageId>
<PackageTags></PackageTags>
<PackageProjectUrl>https://github.com/Rampastring/Rampastring.XNAUI</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageLicenseExpression></PackageLicenseExpression>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'WindowsDXDebug' Or '$(Configuration)' == 'UniversalGLDebug' Or '$(Configuration)' == 'WindowsGLDebug' Or '$(Configuration)' == 'WindowsXNADebug'">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'WindowsDXDebug' Or '$(Configuration)' == 'WindowsDXRelease'">
<DefineConstants>$(DefineConstants);DX;WINFORMS;ISWINDOWS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'UniversalGLDebug' Or '$(Configuration)' == 'UniversalGLRelease'">
<DefineConstants>$(DefineConstants);GL</DefineConstants>
<DefineConstants Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">$(DefineConstants);ISWINDOWS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'WindowsGLDebug' Or '$(Configuration)' == 'WindowsGLRelease'">
<DefineConstants>$(DefineConstants);GL;WINFORMS;ISWINDOWS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'WindowsXNADebug' Or '$(Configuration)' == 'WindowsXNARelease'">
<DefineConstants>$(DefineConstants);XNA;WINFORMS;ISWINDOWS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='WindowsDXRelease' Or '$(Configuration)'=='UniversalGLRelease' Or '$(Configuration)'=='WindowsGLRelease' Or '$(Configuration)'=='WindowsXNARelease'">
<Optimize>true</Optimize>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
</PropertyGroup>
<Target Name="IncludeXNAAssemblies" Condition="$(DefineConstants.Contains('XNA'))">
<ItemGroup>
<BuildOutputInPackage Include="References\XNA\*" />
</ItemGroup>
</Target>
<Target Name="IncludeDesktopGLAssemblies" Condition="$(DefineConstants.Contains('GL')) And '$(TargetFrameworkIdentifier)' == '.NETFramework'">
<ItemGroup>
<TfmSpecificPackageFile Include="$(OutputPath)\x64\SDL2.dll">
<PackagePath>runtimes\win-x64\native\SDL2.dll</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(OutputPath)\x64\soft_oal.dll">
<PackagePath>runtimes\win-x64\native\soft_oal.dll</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(OutputPath)\x86\SDL2.dll">
<PackagePath>runtimes\win-x86\native\SDL2.dll</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(OutputPath)\x86\soft_oal.dll">
<PackagePath>runtimes\win-x86\native\soft_oal.dll</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="build\GL.targets" Condition="!$(DefineConstants.Contains('DEBUG')) And $(DefineConstants.Contains('WINFORMS'))">
<PackagePath>build\Rampastring.XNAUI.WindowsGL.targets</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="build\GL.targets" Condition="$(DefineConstants.Contains('DEBUG')) And $(DefineConstants.Contains('WINFORMS'))">
<PackagePath>build\Rampastring.XNAUI.WindowsGL.Debug.targets</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="build\GL.targets" Condition="!$(DefineConstants.Contains('DEBUG')) And $(DefineConstants.Contains('WINFORMS'))">
<PackagePath>buildTransitive\Rampastring.XNAUI.WindowsGL.targets</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="build\GL.targets" Condition="$(DefineConstants.Contains('DEBUG')) And $(DefineConstants.Contains('WINFORMS'))">
<PackagePath>buildTransitive\Rampastring.XNAUI.WindowsGL.Debug.targets</PackagePath>
</TfmSpecificPackageFile>
</ItemGroup>
</Target>
<ItemGroup>
<Compile Remove="build\**" />
<Compile Remove="References\**" />
<EmbeddedResource Remove="build\**" />
<EmbeddedResource Remove="References\**" />
<None Remove="build\**" />
<None Remove="References\**" />
</ItemGroup>
<ItemGroup Condition="!$(DefineConstants.Contains('XNA'))">
<Compile Remove="Input\KeyboardEventArgs.cs" />
<Compile Remove="Input\KeyboardEventInput.cs" />
</ItemGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<!--Switching between Configurations within VS IDE requires reloading the project file-->
<ItemGroup Condition="$(DefineConstants.Contains('DX'))">
<PackageReference Include="MonoGame.Framework.WindowsDX" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" Version="3.8.0.1641" />
<PackageReference Include="MonoGame.Framework.WindowsDX" Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'" Version="3.8.1.303" />
</ItemGroup>
<ItemGroup Condition="$(DefineConstants.Contains('GL'))">
<PackageReference Include="MonoGame.Framework.DesktopGL" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" Version="3.8.0.1641" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'" Version="3.8.1.303" />
</ItemGroup>
<ItemGroup Condition="$(DefineConstants.Contains('XNA'))">
<Reference Include="Microsoft.Xna.Framework">
<HintPath>References\XNA\Microsoft.Xna.Framework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Xna.Framework.Game">
<HintPath>References\XNA\Microsoft.Xna.Framework.Game.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Xna.Framework.Graphics">
<HintPath>References\XNA\Microsoft.Xna.Framework.Graphics.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Rampastring.Tools" Version="2.0.6" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.49-beta" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.9" />
<PackageReference Include="TextCopy" Version="6.2.1" />
</ItemGroup>
</Project>