UWP.csproj 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
  7. <OutputType>AppContainerExe</OutputType>
  8. <AppDesignerFolder>Properties</AppDesignerFolder>
  9. <RootNamespace>UWP</RootNamespace>
  10. <AssemblyName>UWP</AssemblyName>
  11. <DefaultLanguage>en-US</DefaultLanguage>
  12. <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
  13. <TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
  14. <TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
  15. <MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
  16. <FileAlignment>512</FileAlignment>
  17. <ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  18. <ProjectGuid>{39FC5F66-4830-40C6-B905-545C19619622}</ProjectGuid>
  19. </PropertyGroup>
  20. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
  21. <DebugSymbols>true</DebugSymbols>
  22. <OutputPath>bin\WindowsUniversal\$(Platform)\$(Configuration)\</OutputPath>
  23. <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
  24. <NoWarn>;2008</NoWarn>
  25. <DebugType>full</DebugType>
  26. <PlatformTarget>ARM</PlatformTarget>
  27. <UseVSHostingProcess>false</UseVSHostingProcess>
  28. <ErrorReport>prompt</ErrorReport>
  29. <Prefer32Bit>true</Prefer32Bit>
  30. </PropertyGroup>
  31. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
  32. <OutputPath>bin\WindowsUniversal\$(Platform)\$(Configuration)\</OutputPath>
  33. <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
  34. <Optimize>true</Optimize>
  35. <NoWarn>;2008</NoWarn>
  36. <DebugType>pdbonly</DebugType>
  37. <PlatformTarget>ARM</PlatformTarget>
  38. <UseVSHostingProcess>false</UseVSHostingProcess>
  39. <ErrorReport>prompt</ErrorReport>
  40. <Prefer32Bit>true</Prefer32Bit>
  41. <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
  42. </PropertyGroup>
  43. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  44. <DebugSymbols>true</DebugSymbols>
  45. <OutputPath>bin\WindowsUniversal\$(Platform)\$(Configuration)\</OutputPath>
  46. <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
  47. <NoWarn>;2008</NoWarn>
  48. <DebugType>full</DebugType>
  49. <PlatformTarget>x64</PlatformTarget>
  50. <UseVSHostingProcess>false</UseVSHostingProcess>
  51. <ErrorReport>prompt</ErrorReport>
  52. <Prefer32Bit>true</Prefer32Bit>
  53. </PropertyGroup>
  54. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  55. <OutputPath>bin\WindowsUniversal\$(Platform)\$(Configuration)\</OutputPath>
  56. <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
  57. <Optimize>true</Optimize>
  58. <NoWarn>;2008</NoWarn>
  59. <DebugType>pdbonly</DebugType>
  60. <PlatformTarget>x64</PlatformTarget>
  61. <UseVSHostingProcess>false</UseVSHostingProcess>
  62. <ErrorReport>prompt</ErrorReport>
  63. <Prefer32Bit>true</Prefer32Bit>
  64. <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
  65. </PropertyGroup>
  66. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  67. <DebugSymbols>true</DebugSymbols>
  68. <OutputPath>bin\WindowsUniversal\$(Platform)\$(Configuration)\</OutputPath>
  69. <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
  70. <NoWarn>;2008</NoWarn>
  71. <DebugType>full</DebugType>
  72. <PlatformTarget>x86</PlatformTarget>
  73. <UseVSHostingProcess>false</UseVSHostingProcess>
  74. <ErrorReport>prompt</ErrorReport>
  75. <Prefer32Bit>true</Prefer32Bit>
  76. </PropertyGroup>
  77. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  78. <OutputPath>bin\WindowsUniversal\$(Platform)\$(Configuration)\</OutputPath>
  79. <DefineConstants>TRACE;NETFX_CORE;WINDOWS_UAP</DefineConstants>
  80. <Optimize>true</Optimize>
  81. <NoWarn>;2008</NoWarn>
  82. <DebugType>pdbonly</DebugType>
  83. <PlatformTarget>x86</PlatformTarget>
  84. <UseVSHostingProcess>false</UseVSHostingProcess>
  85. <ErrorReport>prompt</ErrorReport>
  86. <Prefer32Bit>true</Prefer32Bit>
  87. <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
  88. </PropertyGroup>
  89. <PropertyGroup>
  90. <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
  91. </PropertyGroup>
  92. <ItemGroup>
  93. <Compile Include="..\..\SampleCode\Game.cs">
  94. <Link>Game.cs</Link>
  95. </Compile>
  96. <Compile Include="..\..\SampleCode\ScreenFactory.cs">
  97. <Link>ScreenFactory.cs</Link>
  98. </Compile>
  99. <Compile Include="..\..\SampleCode\Screens\BackgroundScreen.cs">
  100. <Link>Screens\BackgroundScreen.cs</Link>
  101. </Compile>
  102. <Compile Include="..\..\SampleCode\Screens\Button.cs">
  103. <Link>Screens\Button.cs</Link>
  104. </Compile>
  105. <Compile Include="..\..\SampleCode\Screens\GameplayScreen.cs">
  106. <Link>Screens\GameplayScreen.cs</Link>
  107. </Compile>
  108. <Compile Include="..\..\SampleCode\Screens\LoadingScreen.cs">
  109. <Link>Screens\LoadingScreen.cs</Link>
  110. </Compile>
  111. <Compile Include="..\..\SampleCode\Screens\MainMenuScreen.cs">
  112. <Link>Screens\MainMenuScreen.cs</Link>
  113. </Compile>
  114. <Compile Include="..\..\SampleCode\Screens\MenuEntry.cs">
  115. <Link>Screens\MenuEntry.cs</Link>
  116. </Compile>
  117. <Compile Include="..\..\SampleCode\Screens\MenuScreen.cs">
  118. <Link>Screens\MenuScreen.cs</Link>
  119. </Compile>
  120. <Compile Include="..\..\SampleCode\Screens\MessageBoxScreen.cs">
  121. <Link>Screens\MessageBoxScreen.cs</Link>
  122. </Compile>
  123. <Compile Include="..\..\SampleCode\Screens\OptionsMenuScreen.cs">
  124. <Link>Screens\OptionsMenuScreen.cs</Link>
  125. </Compile>
  126. <Compile Include="..\..\SampleCode\Screens\PauseMenuScreen.cs">
  127. <Link>Screens\PauseMenuScreen.cs</Link>
  128. </Compile>
  129. <Compile Include="..\..\SampleCode\Screens\PhoneMainMenuScreen.cs">
  130. <Link>Screens\PhoneMainMenuScreen.cs</Link>
  131. </Compile>
  132. <Compile Include="..\..\SampleCode\Screens\PhoneMenuScreen.cs">
  133. <Link>Screens\PhoneMenuScreen.cs</Link>
  134. </Compile>
  135. <Compile Include="..\..\SampleCode\Screens\PhonePauseScreen.cs">
  136. <Link>Screens\PhonePauseScreen.cs</Link>
  137. </Compile>
  138. <Compile Include="..\..\SampleCode\Screens\PlayerIndexEventArgs.cs">
  139. <Link>Screens\PlayerIndexEventArgs.cs</Link>
  140. </Compile>
  141. <Compile Include="App.xaml.cs">
  142. <DependentUpon>App.xaml</DependentUpon>
  143. </Compile>
  144. <Compile Include="GamePage.xaml.cs">
  145. <DependentUpon>GamePage.xaml</DependentUpon>
  146. </Compile>
  147. <Compile Include="Properties\AssemblyInfo.cs" />
  148. </ItemGroup>
  149. <ItemGroup>
  150. <AppxManifest Include="Package.appxmanifest">
  151. <SubType>Designer</SubType>
  152. </AppxManifest>
  153. </ItemGroup>
  154. <ItemGroup>
  155. <Content Include="Properties\Default.rd.xml" />
  156. <Content Include="Assets\LockScreenLogo.scale-200.png" />
  157. <Content Include="Assets\SplashScreen.scale-200.png" />
  158. <Content Include="Assets\Square150x150Logo.scale-200.png" />
  159. <Content Include="Assets\Square44x44Logo.scale-200.png" />
  160. <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
  161. <Content Include="Assets\StoreLogo.png" />
  162. <Content Include="Assets\Wide310x150Logo.scale-200.png" />
  163. </ItemGroup>
  164. <ItemGroup>
  165. <ApplicationDefinition Include="App.xaml">
  166. <Generator>MSBuild:Compile</Generator>
  167. <SubType>Designer</SubType>
  168. </ApplicationDefinition>
  169. <Page Include="GamePage.xaml">
  170. <Generator>MSBuild:Compile</Generator>
  171. <SubType>Designer</SubType>
  172. </Page>
  173. </ItemGroup>
  174. <ItemGroup>
  175. <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
  176. <Version>6.2.13</Version>
  177. </PackageReference>
  178. <PackageReference Include="MonoGame.Framework.WindowsUniversal" Version="3.8.1.303" />
  179. <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.1.303" />
  180. </ItemGroup>
  181. <ItemGroup>
  182. <MonoGameContentReference Include="..\..\ContentProject\Content\Content.mgcb">
  183. <Link>Content\Content.mgcb</Link>
  184. </MonoGameContentReference>
  185. </ItemGroup>
  186. <Import Project="..\..\GameStateManagement\GameStateManagement.projitems" Label="Shared" />
  187. <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
  188. <VisualStudioVersion>14.0</VisualStudioVersion>
  189. </PropertyGroup>
  190. <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
  191. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  192. Other similar extension points exist, see Microsoft.Common.targets.
  193. <Target Name="BeforeBuild">
  194. </Target>
  195. <Target Name="AfterBuild">
  196. </Target>
  197. -->
  198. <Target Name="RestoreDotnetTools" BeforeTargets="Restore">
  199. <Message Text="Restoring dotnet tools" Importance="High" />
  200. <Exec Command="dotnet tool restore" />
  201. </Target>
  202. </Project>