Weird new issue, I cannot validate or generate code from my Model?

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
EdB
Posts: 91
Joined: Mon 15 Oct 2012 09:24

Weird new issue, I cannot validate or generate code from my Model?

Post by EdB » Mon 04 Aug 2014 12:22

Hi,

I cannot generate code any longer. I find the generate button a little unresponsive. Sometimes when you click it, it goes amber, but the cursor stays on the arrow, and then you wait and wait, and then if you are lucky you get a progress spinner and code generation. Part of the problem is that when you F7 or click on generate button, you have little idea whether ED is doing anything. Sometimes I click around to try and "wake it up".

I am generating to EF6, with the POCO template, with View Generation enabled.

I have managed to generate code now, but it is still intermittent. Sometimes it responds sometimes not. I am using the standalone ED setup. However I did have a look at the VS addin version, but could not find an option to generate code(F7) here. Thoughts?

Thanks,

Edward

EdB
Posts: 91
Joined: Mon 15 Oct 2012 09:24

Re: Weird new issue, I cannot validate or generate code from my Model?

Post by EdB » Mon 04 Aug 2014 13:56

As I say it is generating, but it can take about 5 mins with my 90 entities. The horizontal progress bar takes a 2-3 minutes to come up, so one is unsure what is happening if anything. So I guess it would be helpful to ensure that this horizontal progress bar is shown immediately after the generate button is clicked.

Thanks,

Edward

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Weird new issue, I cannot validate or generate code from my Model?

Post by MariiaI » Tue 05 Aug 2014 11:50

However I did have a look at the VS addin version, but could not find an option to generate code(F7) here. Thoughts?
If you work with the model in Visual Studio, just save your model. The code is generated automatically when saving the model in Visual Studio, if any of the templates is added to the model.
As I say it is generating, but it can take about 5 mins with my 90 entities.
We couldn't reproduce this behaviour in our environment. If possible, please send us the model you are working with, so that we are able to reproduce this issue in our environment and investigate it more clearly.

Post Reply