dotnet / dotnet/msbuild

Path.IsPathRooted vs Path.IsPathFullyQualified

Open
#12,849 1 comment 0 reactions 0 assignees View on GitHub
Area: Multithreaded backlog Breaking Change triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

We're using `Path.IsPathRooted` in a lot of places in MSBuild with the intended semantics of https://learn.microsoft.com/en-us/dotnet/api/system.io.path.ispathfullyqualified?view=net-9.0

Tracking issue for validating this interpretation is correct and migrating all usage to Path.IsPathFullyQualified

slight issue is that the method is not available for netstandard
- suggested workaround: create a util which fallbacks to ispathrooted for netstandard in conditional compilation, so it compiles successfully. we don't really run the assembly targeting netstandard.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.