Skip to content

Update ConfigFileProvider#1

Open
albertfast wants to merge 1 commit intoutsab:issue_5616_demofrom
albertfast:issue_5616_demo
Open

Update ConfigFileProvider#1
albertfast wants to merge 1 commit intoutsab:issue_5616_demofrom
albertfast:issue_5616_demo

Conversation

@albertfast
Copy link

This pull request modifies the UiFolder property in the ConfigFileProvider.cs file to improve the handling of folder paths during debug builds.

Previously, the path was defined as:
public string UiFolder => BuildInfo.IsDebug ? Path.Combine("..", "UI") : "UI";

This configuration set the UiFolder path to one level above the base directory in debug mode.

The updated implementation changes this to:
public string UiFolder => BuildInfo.IsDebug ? Path.Combine("../..", "UI") : "UI";

This adjustment ensures the path navigates two levels up to accommodate scenarios where the debug environment requires additional directory traversal to locate the UI folder.

This change is aimed at improving compatibility and ensuring the correct resolution of the UI folder during debug builds. It does not affect release builds, where the path remains as "UI".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant