yagasoft / DynamicsCrm-CodeGenerator

A Visual Studio extension that allows generating early bound classes for Microsoft Dynamics CRM entities based on a template file.
http://yagasoft.com
GNU General Public License v3.0
11 stars 7 forks source link

added workaround for files which are not in the project root / added an option in the config file to define the string substitution #12

Closed ClemensWon closed 1 year ago

ClemensWon commented 2 years ago

this is not a full fix, since the isTempateLatest and isTemplateCompatible will not appear correctly for files which are not in the root of the project, but it stops the extension from crashing when creating files in a sub folder of the root project.

added an option in the config file and settings class to define the string substitution in the NamingHelper clean method

yagasoft commented 1 year ago

@ClemensWon Please excuse my late response, as I had personal issues the past year that I had to deal with. Thank you so much for all your cool suggestions.

I will definitely implement an improvement of this feature through a separate JSON file defined at the solution level. This will make it a lot easier to manage.