Custom tool error

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Posts: 1
Joined: Thu 20 Mar 2014 01:25

Custom tool error

Post by tnewark » Tue 22 Apr 2014 16:54

I am currently building a db first project in visual studio 2012. It's a simple test model with 4 simple tables with foreign key relationships. I have the following settings:

DbContext Project Template
Fluent with Config Classes
File Per Class
Partial Classes

I have the context and config classes going to folders in the Data project.

I have the entities going to a folder in an Entities projcect (trying to separate POCO's from EF dependancy)..

When I save the edml file I get the following erro:

Error 1 Custom tool error: Unable to cast object of type 'Microsoft.VisualStudio.Data.Tools.Package.Project.DatabaseProjectNode' to type 'VSLangProj.VSProject'. C:\Users\tnewark\documents\visual studio 2012\Projects\TestRepository\TestRepositoryData\TestRepository.edml 1 1

Am I doing something wrong? Has anyone else seen this..

The data project has ef 6.1 nuget package and also a dependancy to the entities project, which has no dependancies...

Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: Custom tool error

Post by Shalex » Fri 25 Apr 2014 13:23

We could not reproduce the problem in our environment.

Please send us a test Visual Studio project with the *.edml model in it and specify the steps we should follow to reproduce the issue.

Post Reply