Skip to content

Commit

Permalink
Fix WindowsDX build; cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
discosultan committed Aug 17, 2020
1 parent 9221d1b commit cebcf85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 38 deletions.
5 changes: 5 additions & 0 deletions Samples/HelloPython/HelloPython.DesktopGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IronPython" Version="2.7.10" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.0.1641" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641" />
</ItemGroup>
Expand All @@ -16,4 +17,8 @@
<ProjectReference Include="..\..\Source\MonoGame.QuakeConsole.DesktopGL.csproj" />
</ItemGroup>

<ItemGroup>
<MonoGameContentReference Include="Content\Content.DesktopGL.mgcb" />
</ItemGroup>

</Project>
15 changes: 0 additions & 15 deletions Samples/HelloPython/HelloPython.WindowsDX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,9 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<MonoGamePlatform>Windows</MonoGamePlatform>
<ApplicationIcon>Icon.ico</ApplicationIcon>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;WINDOWS</DefineConstants>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IronPython" Version="2.7.10" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.0.1641" />
Expand Down
14 changes: 0 additions & 14 deletions Samples/Sandbox/Sandbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@
<ApplicationIcon>Icon.ico</ApplicationIcon>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;WINDOWS</DefineConstants>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IronPython" Version="2.7.10" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.0.1641" />
Expand Down
11 changes: 2 additions & 9 deletions Source/MonoGame.QuakeConsole.WindowsDX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;WINDOWSDX</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;WINDOWSDX</DefineConstants>
<TargetFramework>netcoreapp3.1</TargetFramework>
<DefineConstants>WINDOWSDX</DefineConstants>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit cebcf85

Please sign in to comment.