New Posts New Posts RSS Feed: Code First and VS11
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Code First and VS11

 Post Reply Post Reply
Author
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Topic: Code First and VS11
    Posted: 20-Mar-2012 at 3:38am
Maybe you are already aware of it but the Code First generation doesn't work under VS11 beta. The .ibmmx file is never generated.

Is there a workaround to manuall generate it ? 
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 20-Mar-2012 at 11:39am
Hi Walid,
Were you able to install DevForce2010 with VS11?
Can you confirm that the msbuild .target files were installed successfully?
Are you able to add the .cf template file to your Code First project?
Regards,
Silvio.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 21-Mar-2012 at 6:27am
Hi,

I don't think the install is working since I have no access to the different project template.
I have 2 .Targets files located in C:\Program Files (x86)\DevForce 2010.

what should I do to manually install them so I could have the *.ibmmx creation process during the build ?
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 22-Mar-2012 at 3:47pm
Walid,
Try this:
 
1) In the Program Files (x86)\MSBuild\v4.5 folder add:
 
<Import Project="..\IdeaBlade\IdeaBlade.DevForce.Common.targets" Condition="Exists('..\IdeaBlade\IdeaBlade.DevForce.Common.targets')" />
 
to the Custom.After.Microsoft.Common.targets file.
 
2) Create an IdeaBlade folder inside Program Files (x86)\MSBuild and copy
 
IdeaBlade.DevForce.Common.targets
 
and
 
IdeaBlade.VisualStudio.Build.Tasks.dll
 
into it. (you'll find these files in our installation folder: Program Files (x86)\DevForce 2010)
 
3) Be sure to add the .cf file to your project containing the Code First Model.
 
Regards,
   Silvio.
 
 
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down