v8.5 GeneratedCodeAttribute misleading for models generated by Umbraco.ModelsBuilder.Embedded
See original GitHub issueI just “upgraded” to the Umbraco.ModelsBuilder community package.
Properties generated by Umbraco.ModelsBuilder.Embedded have the following GeneratedCodeAttribute
:
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.5.4")]
public new const string ModelTypeAlias = "File";
Properties Generated by Umbraco.ModelsBuilderhave this:
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder", "8.1.0")]
public new const string ModelTypeAlias = "File";
Shouldn’t Umbraco.ModelsBuilder.Embedded’s attributes be changed to reflect the change? i.e.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "8.5.4")]
public new const string ModelTypeAlias = "File";
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
how to enable modelsbuilder models seems to be generated
Hi,. How to enable Modelsbuilder? Models seems to be generated, but using Model.PropertyName returns "...does not contain a definition for.
Read more >compilation error on new document type in liveappdata mode
In my existing website V8, which I developed in Visual Studio and then ... the .generated.cs is in the directory under App_Data >...
Read more >modelsbuilder stopped working - Using Umbraco And ...
I have not noticed any problems with the content of the generated models (so far), but the interface clearly doesn't represent my configuration ......
Read more >modelsbuilder object not hydrating multinode treepicker
Hi – I have a “footer navigation” property based on Multinode treepicker and have picked some content, but the property is empty when...
Read more >models builder gripes - Using Umbraco And Getting Started
Write documentation about what information is gathered from existing classes/types and how it is used when generating; Allow custom generator ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Like @JasonElkin commented above, this issue isn’t the cause… It’s almost certainly an issue with a corrupt NuCache (I’ve seen this quite a few times), which can be fixed by going to ‘Settings - Published Status’ and doing:
I have no idea, I’ll get back to you.