Added DebugNoContent config
Build configuration that does not activate the Content Build step. Use this after the content has been built using the Debug config to avoid overhead.
This commit is contained in:
parent
88655d7c6a
commit
74cad8447f
|
@ -1,18 +1,21 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25123.0
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "2.5DHero", "2.5DHero\2.5DHero\2.5DHero.vbproj", "{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
DebugNoContent|Any CPU = DebugNoContent|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}.DebugNoContent|Any CPU.ActiveCfg = DebugNoContent|Any CPU
|
||||
{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}.DebugNoContent|Any CPU.Build.0 = DebugNoContent|Any CPU
|
||||
{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2AAF65BE-C81D-4663-ABF4-E2E09B16E12F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
|
|
|
@ -52,6 +52,14 @@
|
|||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugNoContent|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\DesktopGL\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG,TRACE,WINDOWS</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Battle\BattleAnimations\BAMove.vb" />
|
||||
<Compile Include="Battle\BattleAnimations\BAOpacity.vb" />
|
||||
|
@ -1743,5 +1751,5 @@
|
|||
</CreateProperty>
|
||||
</Target>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Content.Builder.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Content.Builder.targets" Condition=" '$(Configuration)' != 'DebugNoContent' " />
|
||||
</Project>
|
|
@ -35,7 +35,11 @@ Public Class GameController
|
|||
''' <summary>
|
||||
''' If the Debug Mode is active.
|
||||
''' </summary>
|
||||
#If DEBUG Or DEBUGNOCONTENT Then
|
||||
Public Const IS_DEBUG_ACTIVE As Boolean = True
|
||||
#Else
|
||||
Public Const IS_DEBUG_ACTIVE As Boolean = False
|
||||
#End If
|
||||
|
||||
''' <summary>
|
||||
''' If the game should set the GameJolt online version to the current online version.
|
||||
|
|
Loading…
Reference in New Issue