Skip to content

Commit

Permalink
Small csproj/sln cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Jul 23, 2024
1 parent 833ca5b commit 290d6fb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<DefineConstants>TRACE;MONOGAME; DESKTOP_GL; XNA4; FRB_XNA;MONOGAME_381;</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Title>FlatRedBall (.NET 6 Desktop GL)</Title>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Description>FlatRedBall Game Engine</Description>
Expand Down
2 changes: 0 additions & 2 deletions Engines/FlatRedBallXNA/KniWeb/FlatRedBallKniWeb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<DefineConstants>TRACE;MONOGAME; DESKTOP_GL; XNA4; FRB_XNA;MONOGAME_381;KNI;WEB;BLAZORGL</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Title>FlatRedBall (Web)</Title>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Description>FlatRedBall Game Engine</Description>
Expand Down
5 changes: 0 additions & 5 deletions Engines/Forms/FlatRedBall.Forms/FlatRedBall.Forms.Kni.Web.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "GumCoreShared", "..\..\..\.
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "GumCoreShared.FlatRedBall", "..\..\..\FRBDK\Glue\GumPlugin\GumPlugin\GumCoreShared.FlatRedBall.shproj", "{0EE8A96C-A754-453D-9E65-19A24E9A5E76}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Engine", "Engine", "{BC14B675-58ED-4DA5-AF45-BB68A3F9643A}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "StateInterpolationShared", "..\..\..\FRBDK\Glue\StateInterpolationPlugin\StateInterpolationPlugin\StateInterpolationShared.shproj", "{D00D287D-385B-42FB-BF5F-04401E7D37D0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FlatRedBallKniWeb", "..\..\FlatRedBallXNA\KniWeb\FlatRedBallKniWeb.csproj", "{BB1FD211-C46A-4E12-8C72-52E23D8952E2}"
Expand Down Expand Up @@ -137,9 +135,6 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BB1FD211-C46A-4E12-8C72-52E23D8952E2} = {BC14B675-58ED-4DA5-AF45-BB68A3F9643A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {81B3E152-73E4-4A3A-88E7-78634E4F25C4}
EndGlobalSection
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<DefineConstants>FNA;DESKTOP_GL;XNA4;FRB_XNA;KNI;WEB;BLAZORGL</DefineConstants>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<DefineConstants>FNA;DESKTOP_GL;XNA4;FRB_XNA;KNI;WEB;BLAZORGL</DefineConstants>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

</PropertyGroup>
<ItemGroup>
<PackageReference Include="TextCopy" Version="6.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\..\Gum\GumCore\GumCoreXnaPc\GumCore.Kni.Web\GumCore.Kni.Web.csproj" />
</ItemGroup>
<Import Project="..\FlatRedBall.Forms.Shared\FlatRedBall.Forms.Shared.projitems" Label="Shared" />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TextCopy" Version="6.1.0" />
<ProjectReference Include="..\..\..\..\..\Gum\GumCore\GumCoreXnaPc\GumCore.Kni.Web\GumCore.Kni.Web.csproj" />
</ItemGroup>
<Import Project="..\FlatRedBall.Forms.Shared\FlatRedBall.Forms.Shared.projitems" Label="Shared" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public VisualTemplate(Type type)
Initialize((throwaway) => constructor.Invoke(null) as GraphicalUiElement);
}

/// <summary>
/// Creates a new VisualTemplate with a Func which creates a new GraphicalUiElement.
/// </summary>
/// <param name="creationFunc">The Func to call when CreateContent is called.</param>
public VisualTemplate(Func<GraphicalUiElement> creationFunc)
{
Initialize((throwaway) => creationFunc());
Expand Down

0 comments on commit 290d6fb

Please sign in to comment.