Skip to content

DockerContextTests: resolve the csproj's backslash paths off Windows - #137

Merged
Laeresh merged 1 commit into
mainfrom
ccr-8b0a624d-4g2o26
Oct 3, 2026
Merged

Laeresh merged 1 commit into
mainfrom
ccr-8b0a624d-4g2o26

Conversation

@Laeresh

@Laeresh Laeresh commented Oct 3, 2026

Copy link
Copy Markdown
Owner

MasterServer.csproj names its linked game files as ....\CSVM\src...,
and on Linux and macOS a backslash is not a path separator, so
Path.Combine made each one a single file name inside server/MasterServer.
The server/ filter then dropped every entry and Assert.NotEmpty failed.
This is why the Checks workflow has been red on ubuntu-latest and
macos-latest since 816308b added the test, while windows-latest passed.

The Include value now has its separators normalised before it is
resolved, which Windows accepts unchanged.

Not run locally: this session has no dotnet SDK. The failure and the
reason for it come from the CI log of run 37158829719.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_015fQuGQzjRoNeTijieAfwYv

MasterServer.csproj names its linked game files as ..\..\CSVM\src\...,
and on Linux and macOS a backslash is not a path separator, so
Path.Combine made each one a single file name inside server/MasterServer.
The server/ filter then dropped every entry and Assert.NotEmpty failed.
This is why the Checks workflow has been red on ubuntu-latest and
macos-latest since 816308b added the test, while windows-latest passed.

The Include value now has its separators normalised before it is
resolved, which Windows accepts unchanged.

Not run locally: this session has no dotnet SDK. The failure and the
reason for it come from the CI log of run 37158829719.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015fQuGQzjRoNeTijieAfwYv
@Laeresh
Laeresh merged commit 2f6500b into main Oct 3, 2026
3 checks passed
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.

2 participants