DCSIMG
Visual Studio 2010 RC – Unable To Load Modeling Project From Beta 2 - Shai Raiten

Shai Raiten

 Subscribe

Visual Studio 2010 RC – Unable To Load Modeling Project From Beta 2

Visual Studio 2010 RC – Unable To Load Modeling Project From Beta 2

After upgrading to Visual Studio RC I was unable to open Modeling project that were created in Visual Studio Beta 2.

There is a very quick workaround to solve this issue by modifying the modelproj file.

There are only three actions need to be done:

1. Backup your projects.

2. Open modelproj file and change the version to 1.0.0.0 (0.3.0.0) and attribute name from TeamArchitect to ArchitectureTools

3. Define the new path where Modeling project targets are placed.

4. Platform need to be – AnyCPU.

<?xml version="1.0" encoding="utf-8"?>

<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <PropertyGroup>

    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>

    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

    <SchemaVersion>2.0</SchemaVersion>

    <ProjectGuid>{00000000-0000-0000-0000-000000000000}</ProjectGuid>

    <TeamArchitect>0.3.0.0</TeamArchitect>    --->>> Change To --->>> <ArchitectureTools>1.0.0.0</ArchitectureTools>

    <Name>ModelingProject1</Name>

    <RootNamespace>ModelingProject1</RootNamespace>

  </PropertyGroup>

  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

    <OutputPath>bin\Debug\</OutputPath>

  </PropertyGroup>

  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">

    <OutputPath>bin\Release\</OutputPath>

  </PropertyGroup>

  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\TeamArchitect\Microsoft.VisualStudio.TeamArchitect.ModelingProject.targets" />

--->>> Change To --->>>

  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\ArchitectureTools\Microsoft.VisualStudio.TeamArchitect.ModelingProject.targets" />

  <ItemGroup>

    <Folder Include="ModelDefinition\" />

    <Content Include="ModelDefinition\ModelingProject1.uml">

      <SubType>Content</SubType>

    </Content>

  </ItemGroup>

</Project>

Now you should be able to load your Modeling project, but not yet all the items related (UML,VCL, etc…)

To complete the “Upgrade” run a quick search and find and replace dslVersion="0.3.0.0" with dslVersion="1.0.0.0"

(Some items had code behind so make sure you search all the items.)

Save and every thing should work.

Hope this helps.

 

Comments

Shai Raiten said:

Test Manager 2010 (RC) – What’s New In my last post I’ve talked about how to upgrade you TFS - Upgrade

# February 11, 2010 2:20 PM

Pavements and Materials: Characterization, Modeling, and Simulation | Materials Characterization Material Geek said:

Pingback from  Pavements and Materials: Characterization, Modeling, and Simulation | Materials Characterization Material Geek

# February 12, 2010 11:28 PM

El Bruno said:

Buenas, si eres uno de los pocos que ha comenzado a trabajar con las herramientas de arquitectura de

# February 24, 2010 8:18 PM

El Bruno said:

Buenas, si eres uno de los pocos que ha comenzado a trabajar con las herramientas de arquitectura de

# February 24, 2010 8:19 PM

Curso Web 2.0 » Blog Archive » La Bloguera 24 February 2010 said:

Pingback from  Curso Web 2.0  &raquo; Blog Archive   &raquo; La Bloguera 24 February 2010

# February 24, 2010 8:49 PM

Henrique Duarte said:

It solved the problem.

Thank you!

# February 25, 2010 11:05 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: