Pablo Galiano : Integrating DSL RTM and GAX part one

Subscriptions

<July 2010>
SuMoTuWeThFrSa
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

News

Subscribe to Pablo Galiano by Email

Post Categories

Integrating DSL RTM and GAX part one

A guidance package and a DSL package are registered by default in different visual studio hives. A guidance package lives on the main hive and a DSL package lives on the Experimental one.

So the first thing that we need to do is migrate one of the packages so the live on the same hive.

I am going to migrate the DSL package to the main hive, the procedure is very simple:

A DSL solution consists of 2 projects, the Dsl.csproj and DslPackage.csproj and we need to edit both:

Dsl.csproj:

Change the line:

  <PropertyGroup>
    <StartProgram>$(DevEnvDir)\devenv.exe</StartProgram>
    <StartAction>Program</StartAction>
    <StartArguments>/rootsuffix Exp /DesignTimeRun "..\..\..\Debugging\Debugging.sln"</StartArguments>
  </PropertyGroup>

To

  <PropertyGroup>
    <StartProgram>$(DevEnvDir)\devenv.exe</StartProgram>
    <StartAction>Program</StartAction>
    <StartArguments>/DesignTimeRun "..\..\..\Debugging\Debugging.sln"</StartArguments>
  </PropertyGroup>

DslPackage.csproj:

Change the line:

  <PropertyGroup>
    <StartProgram>$(DevEnvDir)\devenv.exe</StartProgram>
    <StartAction>Program</StartAction>
    <StartArguments>/rootsuffix Exp /DesignTimeRun "..\..\..\Debugging\Debugging.sln"</StartArguments>
  </PropertyGroup>

To

  <PropertyGroup>
    <StartProgram>$(DevEnvDir)\devenv.exe</StartProgram>
    <StartAction>Program</StartAction>
    <StartArguments>/DesignTimeRun "..\..\..\Debugging\Debugging.sln"</StartArguments>
  </PropertyGroup>

And

<TargetRegistryRoot>Software\Microsoft\VisualStudio\8.0Exp</TargetRegistryRoot>

To

<TargetRegistryRoot>Software\Microsoft\VisualStudio\8.0</TargetRegistryRoot>

 

After this changes the guidance package and the DSL will live in the same visual studio hive, which means that one is going to be "visible" by the other and viceversa.

 

Pablo

posted on Monday, October 09, 2006 9:17 AM by pga

# Building Software Factories Today @ Monday, January 08, 2007 10:09 AM

Software factories is an elusive concept nowadays. In this article, I will try to help you understand

Anonymous