A basic setup to build a NX Open .NET application using Visual Studio (IDE)
Interactive Application: .NET authoring license is required
Start Visual Studio 2003 (7.1)
Create class library project
Add references
Browse to UGII_BASE_DIR/UGII/managed/
Add the following files
Add Main() function to the class
}
Compile and build the application
Test Appilcation:
Launch NX
Run your sample application
Sign Application:
In order to release an application and have non programers use this (someone without a .NET authoring license) you need to sign your application.
Add resource file NXSigningResource.res to your Visual Studio project
Set the NXSigningResource.res file Build Action to Embedded Resource
Sign the application, at a command prompt:
If you don’t sign your application when you release it to your end users, they will be required to have a “.NET authoring license”. This is very costly and unnecesary.
Set your Project Configuration Build to Release
This will change the build arguments and remove the unnecessary debug statements for the released application
Compile, Build, and test
Summary
This application does not do anything but it does set up the foundation needed to get an application built using the Visual Studio IDE and have it signed for release.