Closed doronuziel71 closed 8 years ago
Sorry for the horribly late reply. The line should be added to a .cs file alongside the models, ie some sort of Models.cs file in the same directories the files are generated in.
Making sense?
Ok.
Thanks alot.
I will give this a try.
On 7 Nov 2016 3:41 p.m., "Stephan" notifications@github.com wrote:
Sorry for the horribly late reply. The line should be added to a .cs file alongside the models, ie some sort of Models.cs file in the same directories the files are generated in.
Making sense?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/117#issuecomment-258837985, or mute the thread https://github.com/notifications/unsubscribe-auth/AEuINZoXm_MjDapf8MpmrR-Nr1iZdM8gks5q7yqJgaJpZM4JpSlg .
Cool, it works by all my tests, so closing the issue - but in case of any problem, just reopen it!
Hi,
I'm trying to set the base class to be of type BaseContent
have added this line to AssemblyInfo.cs
[assembly: ModelsBaseClass(typeof(BaseContent))]
Yet when I try to generate models, (I've tried both AppData, or using Visual Studio custom Tool)
The models still apear to be inheriting from PublishedContentModel
Am I missing something?
Thanks, Doron