Print Page | Close Window

*REQUIRED* When upgrading using Visual Studio .NET

Printed From: Codejock Forums
Category: General
Forum Name: Articles and Tutorials
Forum Description: Articles and Tutorials
URL: http://forum.codejock.com/forum_posts.asp?TID=11181
Printed Date: 19 April 2024 at 1:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: *REQUIRED* When upgrading using Visual Studio .NET
Posted By: SuperMario
Subject: *REQUIRED* When upgrading using Visual Studio .NET
Date Posted: 24 June 2008 at 10:17am
The following article applies to the ActiveX\COM product line.

If you are upgrading versions of Codejock Software and use Visual Studio .NET (and version)  then there are a few simple steps that you must do to ensure your projects work the first time you try to open and run them.

These are the only steps needed, you DO NOT need to remove any references from your project and re-add them.  Perform these steps before opening your projects after an upgrade.

1. Make sure all versions of Visual Studio are closed.

2. Uninstall the older version.

3. Install new version.

4. Open up the folder where your project is located using Windows Explorer.

5. Delete ALL temps files which include:
  • Bin directory
  • Obj directory
  • .suo file (This file is hidden by the system, you must set your folder settings to view it.)
  • .user file (This file is hidden by the system, you must set your folder settings to view it.)
6. Open up the .vbproj or .csproj file in your favorite text editor like notepad, DO NOT use Visual Studio to perform this step.

*If you are upgrading form the evaluation version to the retail version and have not switched version numbers then you can skip to step 8.

7. Change the <VersionMajor></VersionMajor> and <VersionMinor></VersionMinor> tags for all Codejock components to the version of the software you are switching to. 

Note that there are 2 referenced in this file for each component added.  For example, if you use commandbars and have version 12 then you will see this in your file:

    <COMReference Include="AxXtremeCommandBars">
      <Guid>{555E8FCC-830E-45CC-AF00-A012D5AE7451}</Guid>
      <VersionMajor>12</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>aximp</WrapperTool>
    </COMReference>
    <COMReference Include="XtremeCommandBars">
      <Guid>{555E8FCC-830E-45CC-AF00-A012D5AE7451}</Guid>
      <VersionMajor>12</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>tlbimp</WrapperTool>
    </COMReference>

You must change the VersionMajor and VersionMinor tags for both references to the version of the software you are upgrading or downgrading to.

8. Open up your project and select Clean, then Rebuild All.

If you followed these steps correctly then you should have no problems upgrading versions of Codejock Software using Visual Studio .NET.

Hope this helps



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net