StrataFrame Forum

Manual Visual Studio 2008 Update Instructions

http://forum.strataframe.net/Topic12892.aspx

By Trent L. Taylor - 12/3/2007

We will be releasing a new update very soon that will do this for you automatically.  However, for those of you who REALLY want to up and running on VS2008 right now without having to wait a couple of weeks, here are the instructions as well as the assemblies that are required in order for you to be fully running on 2008.

Manually Adding VS2008 Support

First, to get the StrataFrame menu to appear in 2008, you will have to copy over the StrataFrame.AddIn and change the version within it:

C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared\AddIns\StrataFrame.AddIn

to

C:\Documents and Settings\tltaylor\Application Data\Microsoft\MSEnvShared\AddIns\StrataFrame2008.AddIn

Once this is done, open the 2008 AddIn that you just copied over and change the two version entries to 9.0.

Close the file, close Visual Studio 2008, go back in and you will see the StrataFrame menu.  However, all of the templates will not be installed.  To get the templates installed, you must copy them over from the 2005 folders:

Visual Studio 2005 Folders

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\VisualBasic
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\Web\VisualBasic
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\Web\CSharp
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\StrataFrame
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic\StrataFrame

Copy all of the templates that begin with SF to the 2008 folders of the same names in the Microsoft Visual Studio 9.0 folders.

Visual Studio 2008 Folders

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\VisualBasic
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\CSharp
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\VisualBasic
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\CSharp\StrataFrame
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\VisualBasic\StrataFrame

Once they are copied over to the 2008 folders, execute this command (be sure VS2008 is closed):

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe /setup


Updating Assemblies
Be sure to download the assemblies attached to this post so that all of the StrataFrame type editors will work properly.  You will also find the enhancements from previous posts in this forum section in these assemblies as well.  Once these assemblies are downloaded, do the following:

  1. Exit Visual Studio
  2. Add the assemblies to the GAC (C:\Windows\assembly) folder.
  3. Copy the assemblies to the C:\Program Files\Common Files\MicroFour\StrataFrame folder
  4. Go back into Visual Studio
At this point you should be up and running.