Upgrading Add-in Project in Ver. 5/Ver. 6 Format to Ver. 9 Format


To use add-in projects created in RootPro CAD Ver. 5/Ver. 6 in RootPro CAD Ver. 9, it is necessary to upgrade the projects with the following procedures.

For C# add-in projects

  1. Open a solution file (with the extension of .sln) in a text editor such as Notepad, modify it as follows, and save it.
    • Modify "Format Version" in line 1.
      Microsoft Visual Studio Solution File, Format Version 10.00

      Microsoft Visual Studio Solution File, Format Version 12.00
  2. Open a project file (with the extension of .csproj) in a text editor such as Notepad. modify it as follows, and save it.
    • Modify the ToolsVersion attribute of <Project> element from "3.5" to "12.0".
    • Delete <ProjectTypeGuids> element.
  3. Open AppAddIn.designer.cs or RootProCADApplication.designer.cs file in a text editor such as Notepad, modify it as follows, and save it.
    • Delete Microsoft.VisualStudio.Tools.Applications.Runtime.IEntryPoint from the class this class derived from.
  4. Then, execute procedures in Upgrading Add-in Project in Ver. 7/Ver. 8 Format to Ver. 9 Format.

For VB add-in projects

  1. Open a solution file (with the extension of .sln) in a text editor such as Notepad, modify it as follows, and save it.
    • Modify "Format Version" in line 1.
      Microsoft Visual Studio Solution File, Format Version 10.00

      Microsoft Visual Studio Solution File, Format Version 12.00
  2. Open a project file (with the extension of .vbproj) in a text editor such as Notepad, modify it as follows, and save it.
    • Modify the ToolsVersion attribute of <Project> element from "3.5" to "12.0".
    • Delete <ProjectTypeGuids> element.
  3. Open AppAddIn.designer.vb or RootProCADApplication.designer.vb file in a text editor such as Notepad, modify it as follows, and save it.
    • Delete Microsoft.VisualStudio.Tools.Applications.Runtime.IEntryPoint from the class this class derived from.
  4. Then, execute procedures in Upgrading Add-in Project in Ver. 7/Ver. 8 Format to Ver. 9 Format.
Supplemental
Add-ins are only used in RootPro CAD Professional. RootPro CAD Free cannot use these functions.

Related topics