New Posts New Posts RSS Feed: Can I Have Multiple Versions of DevForce Installed Side by Side?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Can I Have Multiple Versions of DevForce Installed Side by Side?

 Post Reply Post Reply
Author
Wokket View Drop Down
Newbie
Newbie


Joined: 17-May-2011
Posts: 17
Post Options Post Options   Quote Wokket Quote  Post ReplyReply Direct Link To This Post Topic: Can I Have Multiple Versions of DevForce Installed Side by Side?
    Posted: 29-Aug-2011 at 4:51pm
As titled,
 
I'm currently staring down the barrel of needing to support two branches of our application, on two different versions of DevForce.  Is there an easy way to run binaries only, or install multiple versions side-by-side on the one dev PC?
 
Cheers,
Tim
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: 30-Aug-2011 at 2:18pm
Hi Tim,
 
In this case, I'd suggest that you install one version of DevForce, copy the assemblies from the Program Files folder to a safe folder, uninstall it and do the same with the other version of DevForce. (uninstalling it as well - you don't want to have any DF assemblies in the GAC)
Then in each of the branches, remove references to DevForce assemblies in the GAC and point it to the respective folder.
 
Regards,
   Silvio.
Back to Top
Wokket View Drop Down
Newbie
Newbie


Joined: 17-May-2011
Posts: 17
Post Options Post Options   Quote Wokket Quote  Post ReplyReply Direct Link To This Post Posted: 30-Aug-2011 at 5:26pm
G'day Silvio,
I've given this a whirl, and while I can compile and run the application fine, attempting to re-gen the code after an EDMX change throws errors re: missing assemblies (EntityModel.EDM, VisualStudio.DTE and OM.CodeGenerator).
Those assemblies are included as references in the web project, but that's obviously not sufficient. Can you give me some pointers on how to update make the .tt files look at a relative path for their references?
Cheers,
Tim
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: 31-Aug-2011 at 3:38pm
Hi Tim,
 
Sorry, I forgot to mention that you should also copy the IdeaBlade.VisualStudio.OM.Designer.vsix file if so you can generate/regenerate your model.
 
To install the extension, simply double-click on it. (you will need to restart Visual Studio to use the extension) 
To uninstall it (you'll want to do that when 'switching' DevForce versions) go to Tools >> Extension Manager... in Visual Studio, select DevForce EDM Designer Extension and Uninstall.
 
Regards,
   Silvio.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down