Step 4: Compiling the SimpleSample DLL (C# Tutorial) [Office 2003 SDK Documentation]
Previous Step 3: Creating the Smart Document DLL
To compile your Microsoft Visual C# SimpleSample assembly, do the following:
- On the Build menu, click Build SimpleSampleCS.
Troubleshooting
If you get errors during the compile process, use the following to help you troubleshoot:
- Make sure you added a reference to the Microsoft Office Smart Tag 2.0 Type Library, as described in Setting Up Your C# Project.
- Make sure your code matches the code in the SimpleSample Smart Document Code Module.
- Make sure you named the main class in the class module clsActions.
- Make sure that you added all properties and methods of the ISmartDocument interface, even if they are unused (as described in step 8 of Creating the Smart Document DLL.
Note If you verified the previous items and continue to get errors, see Testing and Troubleshooting.
Next Step 5: Creating the SimpleSample XML Expansion Pack Manifest File