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

msbuild for dotnet/corefx fails against sln files #2279

Closed
pjanotti opened this issue Jul 11, 2017 · 2 comments
Closed

msbuild for dotnet/corefx fails against sln files #2279

pjanotti opened this issue Jul 11, 2017 · 2 comments
Labels

Comments

@pjanotti
Copy link

I saw similar issues but not exactly the same, so opening a new one.

On the dotnet/corefx enlistment on Windows I am able to invoke msbuild against the sln file of any src/System.*, however, on macOS (10.12) it fails with error about not finding metaproj file:

Project "/Users/pjanotti/s/github/pjanotti/corefx/src/System.IO.FileSystem/System.IO.FileSystem.sln" (1) is building "/Users/pjanotti/s/github/pjanotti/corefx/src/System.IO.FileSystem/src/System.IO.FileSystem.csproj.metaproj" (2) on node 1 (Clean target(s)).
/Users/pjanotti/s/github/pjanotti/corefx/src/System.IO.FileSystem/src/System.IO.FileSystem.csproj.metaproj : error MSB4025: The project file could not be loaded. Could not find file '/Users/pjanotti/s/github/pjanotti/corefx/src/System.IO.FileSystem/src/System.IO.FileSystem.csproj.metaproj'.

However, if I change the folder delimiter from "\" to "/" in the sln file it works without issues. That is surprising because for the csproj files under the sln file msbuild works with "\" just fine.

Thanks

@rainersigwald
Copy link
Member

I think this is #2022. Closing as a duplicate--please comment if you think it's distinct.

@pjanotti
Copy link
Author

Yeah, it is the same issue. Thanks @rainersigwald

@AR-May AR-May added the triaged label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants