Compiling the .NET examples
The Maya devkit includes several C# plug-in examples. The examples are located in the %DEVKIT_LOCATION%\devkit\dotnet\examples and %DEVKIT_LOCATION%\devkit\dotnet\wpfexamples directories. A Visual Studio solution file is included in each directory.
To build the examples:
- Copy the example directories to a location outside of the devkit. This is not required, but it guarantees that a clean copy of the examples is kept within the devkit.
- Open the example's Visual Studio solution file in Visual Studio.
- Add openmayacs.dll to the project references.
- Right-click on References under the project, and select Add reference alt text
- In the Reference Manager, click on Browse. Change directory to %MAYA_LOCATION%\bin\ and add openmayacs.dll to the references. If you had previously added openmaycs.dll to a project, it will be visible under your recent items. In this case, simply select the dll.
- Build the solution as usual.
The built examples will be located in the assemblies directory and will have the extension .nll.dll.