-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Prevent OutputPath from flowing to project references via a global property #5420
Comments
Today, we don't have any default value for This would involve adding one or hardcoding it at the callsites; that could create problems. Logically, I agree with you, but some people might depend on it (with |
We might want to consider also stopping other OutputPath-like properties from flowing, such as |
Fixes dotnet#5420 SDK-side change still required
Fixes dotnet#5420 SDK-side change still required
Prevent outputpath from flowing to projectreferences SDK-side change still required Fixes #5420
The .NET CLI supports
--output
as a parameter to the build command, and translates this into a-property:OutputPath
parameter to MSBuild.Since this is a global property, it will flow to referenced projects and they will all build with the same output path. This isn't safe. We should add
OutputPath
to a list of properties which we remove when building project references.The text was updated successfully, but these errors were encountered: