Skip to content

Commit

Permalink
More path fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeoliphant committed Mar 20, 2024
1 parent 9affc91 commit 12f5048
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
14 changes: 11 additions & 3 deletions StompboxImageProcessor/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System.Drawing;
using System;
using System.Drawing;
using System.IO;
using System.Reflection;

namespace StompboxImageProcessor
{
Expand Down Expand Up @@ -115,10 +118,15 @@ static void Main(string[] args)
{
var processor = new StompboxImageProcessor();

processor.SrcPath = @"..\..\..\..\SrcTextures";
string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"..\..\..\..");

Console.WriteLine(path);

processor.ForceRegen = false;

processor.RenderImages(@"..\..\..\..\StompboxShared\Content\Textures");
processor.SrcPath = Path.Combine(path, "SrcTextures");

processor.RenderImages(Path.Combine(path, @"StompboxShared\Content\Textures"));
}

}
Expand Down
1 change: 0 additions & 1 deletion StompboxPlugin/StompboxPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Code\StompboxUI\Dependencies\UILayout\ImageSheetProcessor\ImageSheetProcessor.csproj" />
<ProjectReference Include="..\UnmanagedBridge\UnmanagedBridge.vcxproj" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions StompboxRemote/StompboxRemote.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@
<Exec Command="dotnet tool restore" />
</Target>
<Import Project="..\StompboxShared\StompboxShared.projitems" Label="Shared" />
<Import Project="..\Dependencies\UILayout\UILayout\UILayout.projitems" Label="Shared" />
<Import Project="..\Dependencies\UILayout\UILayout.MonoGame\UILayout.MonoGame.projitems" Label="Shared" />
</Project>
2 changes: 2 additions & 0 deletions StompboxUI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ Global
SolutionGuid = {EF2611F5-42D2-4640-8E89-5B8C42826653}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Dependencies\UILayout\UILayout.MonoGame\UILayout.MonoGame.projitems*{428f3d8a-d221-4f75-b1d6-f409b91fb7df}*SharedItemsImports = 5
Dependencies\UILayout\UILayout\UILayout.projitems*{428f3d8a-d221-4f75-b1d6-f409b91fb7df}*SharedItemsImports = 5
StompboxShared\StompboxShared.projitems*{428f3d8a-d221-4f75-b1d6-f409b91fb7df}*SharedItemsImports = 5
StompboxShared\StompboxShared.projitems*{44e9e33c-ccf9-4d03-9094-25a47c4c34c0}*SharedItemsImports = 4
..\UILayout\UILayout.MonoGame\UILayout.MonoGame.projitems*{44e9e33c-ccf9-4d03-9094-25a47c4c34c0}*SharedItemsImports = 4
Expand Down

0 comments on commit 12f5048

Please sign in to comment.