Skip to content
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

[Bug][BuildCheck]: DirectorySeparator is incorrectly shown on unix #10072

Open
f-alizada opened this issue Apr 24, 2024 · 0 comments
Open

[Bug][BuildCheck]: DirectorySeparator is incorrectly shown on unix #10072

f-alizada opened this issue Apr 24, 2024 · 0 comments

Comments

@f-alizada
Copy link
Contributor

f-alizada commented Apr 24, 2024

Issue Description

While reporting the SharedOutputPathAnalyzer shares the path like following:

 MSBUILD : warning : BC0101: Projects FooBar-Copy.csproj and FooBar.csproj have conflicting output paths: /home/user/project/bin\Debug/net8.0/.
  MSBUILD : warning : BC0101: Projects FooBar-Copy.csproj and FooBar.csproj have conflicting output paths: /home/user/project/obj/Debug/net8.0/.

Steps to Reproduce

Repro projects could be found here:

public void SampleAnalyzerIntegrationTest(bool buildInOutOfProcessNode, bool analysisRequested)

run the msbuild with buildcheck enabled on unix.

Expected Behavior

The output path should contain only / (directory separator) /home/user/project/bin\Debug/net8.0/

Actual Behavior

The output path contains \ (directory separator) /home/user/project/bin/Debug/net8.0/

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

No branches or pull requests

4 participants