Codejock Forums Homepage
Forum Home Forum Home > General > Articles and Tutorials
  New Posts New Posts RSS Feed - *REQUIRED* When upgrading using Visual Studio .NET
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

*REQUIRED* When upgrading using Visual Studio .NET

 Post Reply Post Reply
Author
Message
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Topic: *REQUIRED* When upgrading using Visual Studio .NET
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.