Skip to content

InMemoryFileSystem fixes for tests in dotnet sdk #9011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: release/9.0.3xx
Choose a base branch
from

Conversation

nobowned
Copy link

@nobowned nobowned commented May 13, 2025

Problem

When virtualziing the root, file paths come back from EnumerateFileSystemEntries without the "/" on Linux and Mac. The virtualization also has issues with net475 on Windows.

Solution

The solution is to change IsPathInCone to no longer do unnecessary checks and mangling of the original path.

Checks:

  • [ /] Added unit tests

These changes are for the tests in dotnet/sdk#48879

@nobowned nobowned requested a review from a team as a code owner May 13, 2025 00:18
@nobowned nobowned changed the title File system changes InMemoryFileSystem fixes for tests in dotnet sdk May 13, 2025
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