-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Microsoft.NET.Sdk.IL change from PackageVersion => Version suffix broke WinForms usage #1338
Comments
I think we should stick with the current property name as we've been transition Versions.props to not contain |
Are all downstream users of |
I don't know which are the users, but when we were still in corefx we made this change. This was done 2 months ago, so I would've expected other people to be broken by this already: I think we can error out if |
Oh huh. This breaking change was absorbed in the past by dotnet/winforms#2278, but the fix was reverted by dotnet/winforms#2497 to go down to a version before this change happened. /cc @RussKie Anyway, taking the breaking change again passed winforms CI: dotnet/winforms#2647. Just waiting for a winforms reviewer. Having a reasonable error message would have made this really easy to resolve and had WinForms deps flowing 9 days ago, FWIW. But now that it's over with, I don't know if it'll be hit again in the future. |
I guess we can close then? Or are you planning on putting up a PR to error/warn? |
It's up to whoever makes decisions about |
It would good be make a note of this for the future - add better error messages for breaking changes. @dagood fixed us now (thank you!), so no further actions are required from our side. |
cc: @jkoritzinsky I don't know who is the owner for Microsoft.NET.Sdk.IL |
I think @tannergooding is the owner for the SDK, but I'm not positive. |
I did the initial implementation work for |
Just found this issue. That change was done by me when we consolidated the repositories. As I believed that dotnet/runtime is the only consumer of Microsoft.NET.Sdk.IL I didn't warn in beforehand or add a fallback mechanism... Sorry for that. To learn from this, next time I'll:
Again sorry for the disruption here. For dotnet/runtime we will use #33821 going forward, in addition to the other mentioned steps. I think there's no further action necessary, hence closing. |
dotnet/winforms#2533 (comment)
This is because WinForms uses
MicrosoftNETCoreILAsmPackageVersion
, but dotnet/coreclr#27606 changed the IL SDK to useMicrosoftNETCoreILAsmVersion
.runtime/src/coreclr/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets
Line 30 in 6425b2d
I think it would be reasonable to accept both forms in the IL SDK. However, if it's better to just close this as "won't fix" and have WinForms change the property name instead, I think it will be useful to have had this issue open to track this breaking change.
The text was updated successfully, but these errors were encountered: