New Posts New Posts RSS Feed: Metadata generation error: The given key was not present in the dictionary.
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Metadata generation error: The given key was not present in the dictionary.

 Post Reply Post Reply
Author
cblevins View Drop Down
Newbie
Newbie


Joined: 02-Jun-2009
Posts: 2
Post Options Post Options   Quote cblevins Quote  Post ReplyReply Direct Link To This Post Topic: Metadata generation error: The given key was not present in the dictionary.
    Posted: 18-Nov-2011 at 11:21am

I am getting the following error during the 'generate metadata' stage for CodeFirst:

 

C:\Program Files\MSBuild\IdeaBlade\IdeaBlade.DevForce.Common.targets(115,6): error : An error occurred during metadata generation and a metadata file could not be created. Error: The given key was not present in the dictionary.

EntityModelMetadataDeploy: No metadata files generated.
This occurs immediately after adding the .cf file. The project builds fine without the .cf file.
I am using VS2010 on Win 7 Professional (x86), with DevForce 6.1.3.1.
 
Thanks,
Chris
 
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 21-Nov-2011 at 3:58pm
Hi Chris;

I'm going to need to debug your solution. Could you send it through the customer support form here? http://www.ideablade.com/technical-support/CustomerSupportRequestForm.aspx

Back to Top
splace View Drop Down
Newbie
Newbie


Joined: 28-Sep-2010
Location: Nanaimo B.C.
Posts: 5
Post Options Post Options   Quote splace Quote  Post ReplyReply Direct Link To This Post Posted: 06-Dec-2011 at 1:07pm
I am currently experiencing the same issue. Was there any steps taken to resolve this?
Back to Top
splace View Drop Down
Newbie
Newbie


Joined: 28-Sep-2010
Location: Nanaimo B.C.
Posts: 5
Post Options Post Options   Quote splace Quote  Post ReplyReply Direct Link To This Post Posted: 06-Dec-2011 at 3:34pm
Worked it out. I didn't have one of my classes marked as [ProvideEntityAspect]
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down