You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

If you already have a model that is compliant to OpenMI 1.2 and this model is using the org.OpenNI.Utilities.wrapper, you can upgrade your model by following the steps below:

  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.

  • No labels