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

[7.0.2xx Servicing] Fix Property Parsing in publish and pack #30826

Conversation

nagilson
Copy link
Member

@nagilson nagilson commented Feb 23, 2023

Description:

Backport of part of: #30265.
Will let this flow into 7.0.3xx automagically.

Customer Impact

Using the undefine property syntax dotnet publish --property:Foo, properties delimited by ;, like dotnet publish -p:'Foo;Bar=Baz', or invalid properties such as dotnet publish --property:Foo= without a value will now either work (successfully undefine the property with the --property:Foo syntax) or fail elegantly and ignore. In 6.0 this would be OK or elegantly fail, in 7.0 we added a change (#25991) which broke this old behavior pack and publish. (Example of a customer reporting this: #30758). In Net 7.0, customers would see a KeyValueError when incorrect syntax is used, and the undefine property syntax would not work for pack and publish.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Verification

  • Manual (required)
  • Automated (see added tests.)

@nagilson nagilson changed the base branch from main to release/7.0.2xx February 23, 2023 23:36
… the original code for 8 but not in the backport
@nagilson nagilson marked this pull request as ready for review February 24, 2023 18:04
@nagilson nagilson changed the title [Servicing] Fix Property Parsing in publish and pack [7.0.2xx Servicing] Fix Property Parsing in publish and pack Feb 24, 2023
@nagilson nagilson merged commit 0b49a93 into dotnet:release/7.0.2xx Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants