Page 1 of 1

When save don´t generate code in VS2017

Posted: Mon 22 Jan 2018 20:27
Hi

I have one rare problem with Entity developer
I configure the settings for output dirs, etc... and when save in the visual studio 2017 add-in don't generate the code what i have been selected.
The output options are file per class and generate partial class
The Template for generation is for EF Core only

If i do the same with the app runs fine
My version of vs 2017 is enterprise and it have spanish localization

Re: When save don´t generate code in VS2017

Posted: Tue 23 Jan 2018 19:12
by Shalex
1. Are you using the newest (6.2.414) build of Entity Developer?

2. Open your *.efml model in VS2017, navigate to Tools > Entity Developer > Model Explorer > the Templates node, select EF Core, press F4 (Properties) and make sure that:
a) Type = Predefined
b) Enabled = True

3. Does the issue persist with a newly created VS2017 project?

Re: When save don´t generate code in VS2017

Posted: Wed 24 Jan 2018 07:44
hi Shalex
Thank's for you response

1 yes, but my version is express and i have only 3 entities in the diagram
2 i have setted both options in EFCore template and only use this
3 the project is newer

Thank's

Re: When save don´t generate code in VS2017

Posted: Wed 24 Jan 2018 09:00
by Shalex
Is the problem with regenerating code by Entity Developer embedded into VS2017 constant OR intermittent?

If it is constant, please upload a small test project for reproducing to ftp://ftp.devart.com (credentials: anonymous / yourEmail) or some other file exchange server.

Re: When save don´t generate code in VS2017

Posted: Wed 24 Jan 2018 15:14
Hi Again Shalex
The problem is constant
I upload the sample for you to ftp

Thanks

Re: When save don´t generate code in VS2017

Posted: Mon 29 Jan 2018 19:29
by Shalex
Thank you for your test project. We will investigate the issue and notify you about the result.

Re: When save don´t generate code in VS2017

Posted: Thu 15 Feb 2018 17:39
by Shalex
The bug with applying the DevartEFCoreGenerator custom tool in Visual Basic .NET Core projects is fixed: viewtopic.php?f=32&t=36594.