-
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
OutputPath Error Check Fails in EndToEnd.csproj #5965
Comments
This works around failing DDRITs test EndToEnd.csproj where OutputPath was set to some value not ending in a slash. See #5965 for more details.
The use of both I can see the removal is temporary but please do revert #5958 when you guys fix this in the VS Repo. It could've been inserting |
@Nirmal4G Sorry, but I disagree with you strongly here. The checks must remain off if they break user projects that were successfully building.
I completely agree! But it wasn't there. So some projects may have been successfully building with slightly broken paths for a very long time. It's not a good user experience to break those projects to fix the paths (if the paths bothered the users sufficiently to consider them a break, they could have already fixed them).
It might be. The idea behind this issue is to root-cause the discovered problems and figure out the right course of action.
Even if we could do this, I doubt it's the right thing to do. The test that is failing is just "build a project". That's exactly the kind of thing MSBuild users expect to keep working! So until we know otherwise I'm treating the failure as a signal that "the pain of the well-intentioned, reasonable change we made is excessive". |
@rainersigwald I do get that. But I personally, always look into correctness of the code/logic rather than mass appeal.
Then again, its your call, after all! 😉 |
I'm just happy that the Common targets has |
Issue Description
We recently added BaseOutputPath to common targets which added error checks in Microsoft.Common.CurrentVersion.targets like so:
These errors were actually thrown in DDRITs test project
EndToEnd.csproj
here: https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/292082To Do:
EndToEnd.csproj
project from the VS repo.EndToEnd.csproj
hasOutputPath
set to some value that doesn't end in a slash when it hits that target.The text was updated successfully, but these errors were encountered: