Export (0) Print
Expand All

Sample SDK Reference

Visual Studio 2005
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This sample shows how to integrate an SDK into Visual Studio. Specifically, this sample illustrates how to do the following:

  • Use a property sheet provider to configure a VC project to recognize an SDK.

  • Use the Help Integration Wizard to create an .msm file from an .hxs file produced by Help Studio Lite.

  • Register an assembly so that it is listed on the .Net tab of the Add Reference dialog box.

  • Organize the file structure of an SDK.

  • Generate a .NET Primary Interop Assembly (PIA) for a COM DLL.

  • Generate a COM type library (TLB) for a .NET assembly.

Security noteSecurity Note

This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices.  Microsoft assumes no liability for incidental or consequential damages should the sample code be used for purposes other than as intended.

To build and run the sample

  1. Open the solution Redistributables\Source\COMDll\COMDll.sln and build the Debug configuration and then the Release configuration.

  2. Open the solution Redistributables\Source\DotNetAssembly\DotNetAssembly.sln, and select “Load project normally” if the “Security Warning for DotNetAssembly” dialog box appears, and build the Debug configuration and then the Release configuration.

  3. Open the solution Redistributables\Source\ExportTlbFromAssembly\ExportTlbFromAssembly.sln and build the Debug configuration and then the Release configuration.

  4. Open the solution Documentation\MSMFromHXS\MSMFromHXS.sln and build it. The MSMFromHxS project contains only the Release configuration.

  5. Open the solution Setup\Setup.sln and build it. The Setup project contains only the Release configuration.

To see the sample's functionality

  • After you run the sample, an XML editor appears. A settings pane is docked on the right side of the editor. You can change the settings to update the visual attributes of the editor.

Demonstrates

See Also

Community Additions

ADD
Show:
© 2015 Microsoft