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

Replace backward/forward slash in ProjectAndExecutableLaunchHandlerHelpers.GetOutputDirectoryAsync with system default #9585

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

LittleLittleCloud
Copy link
Contributor

@LittleLittleCloud LittleLittleCloud commented Nov 12, 2024

fix #9584

Microsoft Reviewers: Open in CodeFlow

@LittleLittleCloud LittleLittleCloud marked this pull request as ready for review November 12, 2024 23:24
@LittleLittleCloud LittleLittleCloud requested a review from a team as a code owner November 12, 2024 23:24
{
// Arrange
var expectedOutputDirectory = @"C:\OutputDirectory";
var expectedOutputDirectory = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? expectedOutputDirectoryOnWindows : expectedOutputDirectoryOnLinux;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we run these tests on Linux/OSX in any CI? Maybe for DevKit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @drewnoakes

I've verified the test on my local machine on linux via WSL though. However, I don't think the current CI in dotnet-project-system runs on linux/macOS though, which IMO should be enabled somewhere since Microsoft.VisualStudio.ProjectSystem.Managed is consumed by C# DevKit. What I am not so sure about is where and how to enable these tests on linux machine, maybe we can discuss offline.

BTW Here's the current test result for Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests on linux, where most of the failure test cases are from path sepereter
image

@LittleLittleCloud LittleLittleCloud merged commit 0602bda into main Nov 13, 2024
5 checks passed
@LittleLittleCloud LittleLittleCloud deleted the u/fix#9584 branch November 13, 2024 19:20
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants