We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After update to beta2 today, one of my projects fail to build because codegen is generating code for some AspNet types.
I tried to remove obj/ and bin/ and rebuild but got the same problem.
It may be related to #3771
The text was updated successfully, but these errors were encountered:
@galvesribeiro could you give me a build log where your csproj has <OrleansCodeGenLogLevel>Trace</OrleansCodeGenLogLevel> set?
<OrleansCodeGenLogLevel>Trace</OrleansCodeGenLogLevel>
Sorry, something went wrong.
Sent on Gitter @ReubenBond.
Thanks @galvesribeiro. I see the issue and I'll try to fix it today.
Issue is that our 'backing field to auto property' heuristic is not checking for an exact type match between field and property, so when the subclass overrides a base property (public new string Prop), it may have a type mismatch. See the MVC ControllerContext code here: https://github.com/aspnet/Mvc/blob/7e26af908ef068407961479d21539079f5ffadfb/src/Microsoft.AspNetCore.Mvc.Core/ControllerContext.cs#L47
public new string Prop
Meanwhile, this should be alleviated with the fix for #3771.
Thanks @ReubenBond! Looking forward to get the updated packages.
ReubenBond
No branches or pull requests
After update to beta2 today, one of my projects fail to build because codegen is generating code for some AspNet types.
I tried to remove obj/ and bin/ and rebuild but got the same problem.
It may be related to #3771
The text was updated successfully, but these errors were encountered: