Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is it possible, either via an option or extending the API, to instruct ModelsBuilder not to generate models for certain DocTypes?
We have a Base Build package that we install in our projects, that comes with:
We don't want ModelsBuilder to generate the models again for these doctypes, we want it to just ignore them and only generate models for new doctypes.
Hi Greg,
there is some configuration you can do in code that prevents ModelsBuilder from generating models for specific content types.
[assembly:IgnoreContentType("alias")]
You need a file and add these statements for all that you want to ignore. See documentation here: https://github.com/modelsbuilder/ModelsBuilder.Original/wiki/ModelsGenerationConfiguration
Not sure if the Embedded version of ModelsBuilder recognizes the configuration, so you may have to upgrade to the full version.
Regards David
Perfect, thank you.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Tell ModelsBuilder not to generate models for certain doctypes
Is it possible, either via an option or extending the API, to instruct ModelsBuilder not to generate models for certain DocTypes?
We have a Base Build package that we install in our projects, that comes with:
We don't want ModelsBuilder to generate the models again for these doctypes, we want it to just ignore them and only generate models for new doctypes.
Hi Greg,
there is some configuration you can do in code that prevents ModelsBuilder from generating models for specific content types.
[assembly:IgnoreContentType("alias")]
You need a file and add these statements for all that you want to ignore. See documentation here: https://github.com/modelsbuilder/ModelsBuilder.Original/wiki/ModelsGenerationConfiguration
Not sure if the Embedded version of ModelsBuilder recognizes the configuration, so you may have to upgrade to the full version.
Regards David
Perfect, thank you.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.