Up DevForce release notes
DevForce 2010 Resource Center » DevForce release notes » Side-by-side DevForce 2012 installation

Side-by-side DevForce 2012 installation

Last modified on November 07, 2012 14:54

As of DevForce 2010 version 6.1.9, and DevForce 2012 version 7.0.2, you may have both DevForce products installed on the same computer.  


General

DevForce 2010 may be installed to either (or both) Visual Studio 2010 or Visual Studio 2012.  In either case, DevForce 2010 is specifically designed for .NET 4.0 development.  If you use DevForce 2010 with VS 2012, the DevForce project templates, and the EDM extension, can be used only when a project targets .NET Framework 4.

Project templates

In Visual Studio 2012, when you create a new project, you'll see both DevForce 2010 and DevForce 2012 nodes in the "New Project" dialog.

DevForce 2010 templates will be visible when you choose .NET Framework 4.  

DevForce 2012 templates will be visible when you choose .NET Framework 4.5.

DevForce EDM Extension

When you create a new EDMX-based model, or open an existing one, you'll see messages in the DevForce output pane which indicate whether the DevForce 2010 or 2012 EDM extension is in use.

For example, when opening a .NET 4 model:

df2010edmx.JPG

.. and when opening a .NET 4.5 model:

df2012edmx.JPG

The DevForce 2010 extension will be used for .NET 4.0 projects, while the DevForce 2012 extension will be used with .NET 4.5 projects.

Code First

The DevForce 2010 Code First NuGet package should be used with DevForce 2010.  This package requires that DevForce 2010 is already installed, and can be installed to Silverlight 4, Silverlight 5, and .NET 4.0 projects.  

A separate package, DevForce 2012 Code First, is used with DevForce 2012.  This package can be installed to Silverlight 5 and .NET 4.5 projects.

cfpackages.JPG

 

Troubleshooting

  • Warnings and errors when saving an EDMX

You may see the following warnings and errors when you try to save an EDMX in the designer or choose "Run Custom Tool"  on an existing .tt file: 

   Warning:  Multiple assembly references match "IdeaBlade.VisualStudio.DTE.dll" under Extensions directories.
   Warning:  Multiple assembly references match "IdeaBlade.EntityModel.Edm.Metadata.dll" under Extensions directories.     
   Error:    Compiling transformation: Metadata file 'IdeaBlade.VisualStudio.OM.CodeGenerator.dll' could not be found.

To resolve the problem delete the .tt file and resave the EDMX.  The .tt file will be recreated with correct assembly references.  If you've customized the T4 template, see here for more information.


 

Created by DevForce on November 06, 2012 10:26

This wiki is licensed under a Creative Commons 2.0 license. XWiki Enterprise 3.2 - Documentation. Copyright © 2015 IdeaBlade