-
Notifications
You must be signed in to change notification settings - Fork 2.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
Undo binary breaking change #16996
Undo binary breaking change #16996
Conversation
Where are the binary breaking changes? They are extension methods in the same assembly |
@hishamco check out the updated description. |
I'm not sure if it's considered as binary breaking-changes while it's an extension methods, so the class name doesn't matter |
{ | ||
public static IServiceCollection AddSiteDisplayDriver<TDriver>(this IServiceCollection services) | ||
where TDriver : class, IDisplayDriver<ISite> | ||
=> services.AddDisplayDriver<ISite, TDriver>(); | ||
=> services.AddDisplayDriver<ISite, TDriver>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such formatting I told you about previously, and you told me it's done by VS :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have better things to do that picking on spaces or discussing. sorry
I'm not sure who this is related to or affects OC. Did you read about binding redirect it might help in your case |
We'll it broke me :) Let say you have Project A on nuget package that use 2.0 assemblies. Also you have project B that uses 2.1-previews and Project A from nuget. This will give you an exception similar to:
If Project A was complied with 2.1 previews, then this wont be a problem. |
@hishamco Renaming classes is always breaking, in case of extension methods as well if you invoke them directly. |
I vote for only shipping major versions of Orchard! |
Agree, but I don't think there's someone invoke them directly otherwise this is not make sense in case of extension methods :) Again it's a breaking change |
Fix #16997