-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
dotnet --getProperty can sometime return more than one value #38944
Comments
I think I'm seeing this as well in #38811, where I'm trying to use it to do testing. This issue should move to dotnet/msbuild though. I'll transfer. |
Interesting note that |
With Without The reason why it appeared to work as expected in 8.0.100 is dotnet/msbuild#9339 which was fixed in 8.0.200. The @baronfel I'm afraid this should go back to dotnet/sdk as these are unexpected interactions between restore and the new switches. |
This is fixed in the 8.0.3xx nightlies, and will go out with I believe the April build of the 8.0.2xx series at this point. |
Describe the bug
dotnet --getProperty can sometime return more than one value.
This happens with 8.0.201 (on macOS at least) and was working properly (as expected) with 8.0.101.
To Reproduce
Create a global.json to use dotnet 8.0.101 and re-run the last command:
Disregard the build error (first line) but this prints only the value of
OutputPath
once.Exceptions (if any)
This only seems to happen when
-f
is used.This is needed for multi-platform projects like MAUI and Uno.
Further technical details
The text was updated successfully, but these errors were encountered: