Skip to content

Commit

Permalink
Fixed filename error.
Browse files Browse the repository at this point in the history
Fixed add to manager issuue in Gum.
  • Loading branch information
vchelaru committed Dec 1, 2014
1 parent 1e73a91 commit df37c29
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 1 deletion.
11 changes: 11 additions & 0 deletions ContentLibrary/ContentLibrary.csproj
Expand Up @@ -43,6 +43,17 @@
<PlatformTarget>x86</PlatformTarget>
<XnaCompressContent>true</XnaCompressContent>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
<NoStdLib>true</NoStdLib>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86">
<Private>False</Private>
Expand Down
Expand Up @@ -184,6 +184,15 @@ private GraphicalUiElement CreateIpsoForElement(ElementSave elementSave)
if (rootIpso != null)
{
rootIpso.AddToManagers();

if (rootIpso.ElementSave is ScreenSave)
{
// If it's a screen and it hasn't been added yet, we need to add it.
foreach (var item in rootIpso.ContainedElements.Where(candidate=>candidate.Managers == null))
{
item.AddToManagers();
}
}
}

return rootIpso;
Expand Down
18 changes: 18 additions & 0 deletions InputLibrary/InputLibrary.csproj
Expand Up @@ -48,6 +48,24 @@
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
Expand Down
18 changes: 18 additions & 0 deletions RenderingLibrary/RenderingLibrary.csproj
Expand Up @@ -68,6 +68,24 @@
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\AutomatedBuild\</OutputPath>
<DefineConstants>TRACE;DEBUG;RENDERING_LIB_SUPPORTS_TGA</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
Expand Down
2 changes: 1 addition & 1 deletion ToolsUtilities/FileManager.cs
Expand Up @@ -196,7 +196,7 @@ public static bool FileExists(string fileName, bool ignoreExtensions)
#if ANDROID
try
{
var filename = Standardize(fileName);
fileName = Standardize(fileName);
if(fileName.StartsWith(".\\"))
{
fileName = fileName.Substring(2);
Expand Down
19 changes: 19 additions & 0 deletions ToolsUtilities/ToolsUtilities.csproj
Expand Up @@ -50,6 +50,25 @@
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
18 changes: 18 additions & 0 deletions XnaAndWinforms/XnaAndWinforms.csproj
Expand Up @@ -50,6 +50,24 @@
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AutomatedBuild|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\AutomatedBuild\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
<Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86" />
Expand Down

0 comments on commit df37c29

Please sign in to comment.