dotnet / dotnet/msbuild

Crossplat MSBuild and assumptions about the file system

Open
#781 3 comments 1 reaction 0 assignees View on GitHub
needs-design triaged xplat
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

There are some places in MSBuild that restrict what characters a path may have, assume the FS is case insensitive, impose limits on path lengths, etc.
For example, [this code](https://github.com/Microsoft/msbuild/blob/xplat/src/XMakeBuildEngine/Utilities/EngineFileUtilities.cs#L88-L91) ignores the expansion of some globs with escaped `*` characters in them. Unix paths can have `*` in them.

We should probably at some point decide whether MSBuild should keep Windows only path constraints on crossplat. One argument for preserving the same constraints over all OSes is that building the same crossplat project on multiple OSes should result in the same build output.

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.