-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Revert setter.value changes #9584
Conversation
…er (dotnet#9229)" This reverts commit 6548fdd.
No way this is being reverted once again :/ |
Oh, bad news |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/backport to release/9.0 |
Started backporting to release/9.0: https://github.com/dotnet/wpf/actions/runs/10419998191 |
/backport to release/9.0-rc1 |
/backport to release/9.0-preview7 |
Started backporting to release/9.0-rc1: https://github.com/dotnet/wpf/actions/runs/10420009398 |
Started backporting to release/9.0-preview7: https://github.com/dotnet/wpf/actions/runs/10420010377 |
So what is the learning here, are we banning adding |
Absolutely not. We need to figure out a better way to manage the compat scenario. In fact, this issue won't be limited to just Right now, given the blocking nature of the issue and the immediate release deadline, we had to make this choice. We will figure out a way to isolate SDK dependencies with PresentationBuildTasks involved moving forward. |
@pchaurasia14 Happy to hear that; this should also mean that PBT could get rid of .NET 4.7.2 targeting, correct? |
@h3xds1nz - I'm not sure about that yet. During our investigation, we found out that VS uses net472 version of PBT during WPF appl build (even when it is building for dotnet). I am unclear what risk would our removal (for targeting 472) create. My assumption was that net472 version was solely used during netfx appl builds. However, it looks like that's not the case. But yes, we need to figure out how do we isolate such changes. |
@pchaurasia14 Ouch, I see, thanks for the response. I also thought its just for netfx builds. Hopefully we get there soon. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
|
Issue : #84
Reverted PRs : #745 and #9229
Description
Reverting a changeset that we've shipped in .NET 9 preview 7 to define Value property of Setter as XAML content property.
The above change increments internal indexing when creating the binary. When a customer installs a new version of the SDK, but the app still targets the old frameworks (.NET 8 and below), the binary created with the new SDK (with the new index information) is not understood by older runtime, which is why the below exception gets thrown.
System.Windows.Markup.XamlParseException with inner IndexOutOfRangeException: Index was outside the bounds of the array.
Customer Impact
All VS users using the new version of SDK and targeting old framework are unable to run their WPF applications. (BLOCKER)
Regression
Yes
Testing
Local VS testing
Risk
Low. Reverted functionality.
Microsoft Reviewers: Open in CodeFlow