-
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
Breaking change in response file parsing #26026
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
TeamCity have addressed this issue with a solution found at JetBrains/teamcity-dotnet-plugin#158 (comment) |
Note that this isn't only a issue with that specific parameter or with semi-colons in strings alone. Another .rsp reproduction:
Error:
|
My suspicion is that the response file features of system.commandline are covering the MSBuild response file parsing, and so we need to do some work to disable/sidestep those features. I haven't been able to verify that this branch contains a version of system.commandline with this feature, yet. UPDATE: the changes I'm thinking of didn't arrive until beta4 of S.CL, which isn't in the 6.0.3xx branch of the SDK. It may be an actual change in MSBuild instead. |
This breaks our TeamCity builds badly - same issue as LinardAtTenForce. We have a comma in our build configuration name, so even after updating the plugin it failed due to that and we had to rename the build configuration, too. |
@marcpopMSFT @dsplaisted @joeloff FYI. May be they can help here |
dotnet/msbuild#471 related? |
Cross posting from here as many people are seeing this combination with TeamCity. A hint to the readers of this issue (which I missed first): the |
Ping @baronfel. Does this mean we should consider reverting the behavior change instead of just working around it in the Brotli task? |
@janv8000 @Danielku15 thank you for reporting a second case. @dsplaisted yes, I agree that a second case is enough to investigate reverting the S.CL update that triggered this, and then looking at how to mitigate for 6.0.400 and beyond. |
I think overall there are quite some cases in the market. They have been primarily reported to JetBrains as people using TeamCity (CI server) are directly affected with this issue after upgrading the SDK 😉 Our IT rolled out .net SDK updates last night and we started suffering of these errors. If you need further cases you can refer to this Issue in the JetBrains issue tracker where a lot of people had the issue, but were able to patch their servers with some hotfix from JB: |
Closing as resolved and should be released in 6.0.303 and onwards. |
Issue present in 6.0.400.
Please don't get me wrong, but I have to say, MS quality testing is appalling, not just in windows but in all products these days? This is on a brand new project ( |
Yes, easily reproducible on Linux, too, if the path contains a space:
|
Reopening this due to repro. |
Closing this as we merged the servicing fix last week. This should be fixed in the October servicing release of the 6.0.300 SDK series and up. |
@baronfel - can you list the exact version(s) it's fixed in? " |
Good point, 6.0.305 and 6.0.402 should contain the fix. 'and up' was intended to mean 'the higher feature bands', which right now are 6.0.4xx and 7.0.1xx. |
Describe the bug
Since upgrading from SDK
6.0.300
to6.0.301
, the response file parsing logic has changed, whereused to work, but now shows an error:
To Reproduce
Exceptions (if any)
Expected
Further technical details
dotnet --info
N/A
The text was updated successfully, but these errors were encountered: