Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Uninstall OpenMI 1.2 or any other previous OpenMI releases on your computer.

  2. Download the OATC SDK from http://sourceforge.net/projects/openmi/

  3. Unzip the files

  4. If you do not already have NUnit installed, it is recommended to install it. http://nunit.org/

  5. Openn the Oatc.OpenMI.Sdk.sln solution and rebuild all.

  6. Add you existing wrapper project to the Oatc.OpenMI.Sdk.sln (also add unit test project, if you have that).

  7. In your wrapper project (and unit test project if you have that)remove the reference to org.OpenMI.Standard and subsequently add a reference to the OpenMI.Standard.dll using the browse tab in the add reference dialog in Visual Studio. The OpenMI.Standard.dll is located in <yourUnzipfolder>\OpenMI.Standard\src\csharp\bin.

  8. In your wrapper project (and unit test project if you have that)references to org.OpenMI.Backbone, org.OpenMI.DevelopmentSupport, org.OpenMI.Utilities.Wrapper, org.OpenMI.Utilities.Spatial, org.OpenMI.Utilities.Buffer should be replaces by references to the projects Oatc.OpenMI.Sdk.Backbone, Oatc.OpenMI.Sdk.DevelopmentSupport, Oatc.OpenMI.Sdk.Wrapper, Oatc.OpenMI.Sdk.Spatial, and Oatc.OpenMI.Sdk.Buffer, respectively. All "using statements" in your source code should be changes accordantly.

  9. If you are using fully qualified class names for classes from the Sdk, these should also be changes (use search and replace). E.g. if you have a class declared as org.OpenMI.Utilities.Wrapper.LinkableEngine this should be changed to Oatc.OpenMI.Sdk.Wrapper.LinkableEngine. Note that when changing fully qualified references to interfaces in the OpenMI.Standard you may have to use the "global" keyword. E.g. org.OpenMI.Standard.IDimension is changed to global::OpenMI.Standard.IDimension.

  10. Rebuild all