3

Closed

Error Message Box when generating since adding solution folders

description

Hi CodeTools,

I initially created my solution with the projects in the root folder level:

Solution: MySolution
Project EFM (contains the model designer)
Project EFDAL (auto generated)
Project EDAL.Interfaces (auto generated)
Project UI
Project.Install (auto generated)

All was working fine.

However, I've added solution folders:

Solution: MySolution
Data Access (Solution Folder)
   Project EFM (contains the model designer)
   Project EFDAL (auto generated)
   Project EDAL.Interfaces (auto generated)
Presentation (Solution Folder)
   Project UI
Utilities
   Project.Install (auto generated) 
Tests
   Project EFDAL.Tests (created unit test project)
Now when I generate the model, I get the following error messages:

System.Runtime.InteropServices.COMException (0x80004005):
Unspecified error

See screenshot. This appears 3 times. I am guessing once per auto-generated project? I cannot find any more information to add at present.

Any thoughts?

Thanks,

Andez

file attachments

Closed Aug 8, 2013 at 8:28 PM by codetools
This will be fixed in the next version.

comments

valeriuz wrote Jul 8, 2013 at 11:51 AM

I have a similar issue. I created nHydrate project in a subfolder of the solution, but when I generate EFDAL projects they are created in root folder of the solution.

In my opinion, generated projects should be at the same level as nHydrate project. Or is any setting that I don't know of to specify where to generate projects?

wrote Jul 8, 2013 at 12:05 PM

andez2000 wrote Jul 8, 2013 at 9:42 PM

But solution folders are "virtual". They are not physical folders on the drive.

Ideally you might want to group areas of functionality together in a solution. I think it is a better way of organising it. And yes, you keep EF projects together.

Really could do with fixing this one :(

motlajs wrote Aug 6, 2013 at 10:05 AM

Having the same problem:
  • moving nHydrate generated projects to virtual folder leads to the error as the "nHydrate Error Generating.png" shows
  • moving back under solution root makes the model generation working.

wrote Aug 7, 2013 at 8:56 AM

valeriuz wrote Aug 8, 2013 at 10:22 AM

I have downloaded the source code and improved it in order to add such functionality and a few more. Unfortunately I have the whole "package" which is quite big. I will publish it on one of my sites and come back with URL and password to download.

codetools wrote Aug 8, 2013 at 8:28 PM

This has been reproduce and fixed. You will be able to move projects into solution folders and then re-generate into them in the next version.

wrote Aug 8, 2013 at 8:28 PM