Up What DevForce installs

Installation Troubleshooting

Last modified on November 07, 2012 10:24

If you have problems installing DevForce, or need to modify your installation - for example to install an extension for your non-administrative user account - this troubleshooting section can help.


Install DevForce Templates

As of DevForce 6.1.7 the DevForce project and item templates can be installed from a Visual Studio extension.  By default, during DevForce installation the templates will be installed for the account under which the installation is run.  Installation is done for either, or both, Visual Studio 2010 and Visual Studio 2012.  If you have a "side-by-side" installation of both versions of Visual Studio, the templates will be installed to each.

If your account is not an administrative account, you can manually run the extension to install the templates for your use.  To do so, 

  1. Navigate to the DevForce installation folder (frequently ProgramFiles/DevForce2010)
  2. Double-click on the IdeaBlade.VisualStudio.TemplateInstaller.vsix file in this folder

If the extension is already installed you will get a message saying so; otherwise, the message prompt will ask you to select the Visual Studio product(s) to which the extension should be installed.  

Note to Windows XP users:  you will receive an error if you attempt to run this vsix.  See below for information on how to install templates in Windows XP.

After the extension is installed, you'll see it in the Visual Studio Extension Manager:

templatesext.JPG

You'll also now see the DevForce project and item templates when you choose a new project or item.  See the Create New Solutions topic for more information on how to select and use these templates.

Special requirements for Windows XP or prior DevForce releases

In Windows XP, and in versions of DevForce prior to 6.1.7, the DevForce templates are not installed with a Visual Studio extension.  In these cases, to install the templates you will need to execute a tool provided by DevForce.

  1. Navigate to the DevForce installation folder (frequently ProgramFiles/DevForce2010)
  2. Navigate to the Tools sub-folder
  3. Double-click the TemplateInstaller.exe

After this installer completes you can now use the DevForce project and item templates.  See the Create New Solutions topic for more information on how to select and use these templates.

Install DevForce EDM Designer Extension

The DevForce EDM Designer Extension adds DevForce functionality to the Entity Data Model Designer.  By default, during DevForce installation the extension will be installed for the account under which the installation is run.  As of DevForce version 6.1.7, DevForce EDM features can be installed and used in Visual Studio 2010 and Visual Studio 2012.  If you have a "side-by-side" installation of both versions of Visual Studio, the extension will be installed to each.

There is a separate extension for each Visual Studio version.

Visual Studio 2010

  1. Navigate to the DevForce installation folder (frequently ProgramFiles/DevForce2010)
  2. Double-click on the IdeaBlade.VisualStudio.OM.Designer.vsix file in this folder

If the extension is already installed you will get a message saying so; otherwise, the message prompt will ask you to select the Visual Studio product(s) to which the extension should be installed.  After installation you will be able to use the features of the DevForce EDM Designer extension.

Visual Studio 2012 (Including RC and VS11 Beta)

  1. Navigate to the DevForce installation folder (frequently ProgramFiles/DevForce2010)
  2. Double-click on the IdeaBlade.VisualStudio.OM.Designer.11.0.vsix file in this folder

If the extension is already installed you will get a message saying so; otherwise, the message prompt will ask you to select the Visual Studio product(s) to which the extension should be installed.  After installation you will be able to use the features of the DevForce EDM Designer extension.

The DevForce 2010 EDM Designer Extension for .NET 4.0 can only be used in Entity Framework 4.0 models.  If you are using a version of DevForce earlier than 6.1.9 you will receive designer errors if you attempt to use the designer for a model in a project targeting .NET 4.5.

Windows XP

As of the 6.1.7 release, DevForce uses the 2.1.6.13 release of PostSharp.  In Windows XP, we've found in this release that when the DevForce installer launches the PostSharp installer the following security prompt is issued: 

xpprompt.JPG

In order for DevForce, and PostSharp, to install successfully you should either 1) uncheck the Protect checkbox, or 2) enter an administrative account and password.  (Note that you will get this prompt even if you launch the DevForce installer from an administrative account.)

If you do not perform one of the above actions the installation will continue and appear to succeed, but DevForce features will not function properly.

As of release 6.1.9, PostSharp is installed as a NuGet package.

Tags:
Created by DevForce on May 03, 2012 13:47

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