Develop Visual Studio plug-ins

Source: Internet
Author: User

 

1. Create a project> other project types: scalability> external Visual StudioProgram
2. Connect. CS:

Exec Method
If (commandname = "myaddin1.connect. myaddin1 ")
{

// Here, You can implement your own logic to extend the vs2008 function.
// Form1 fm = new form1 ();
// FM. showdialog ();

Handled = true;
Return;
}

Add the required functions to the Annotation

3. debugging: The New Visual Studio is opened when you run the tool directly. The corresponding plug-in function is displayed under the tool menu.

4. Deployment:

Copy the myaddin1.addin and myaddin1.dll files to the C: \ Documents ents and Settings \ lxr \ My Documents ents \ Visual Studio 2008 \ addins directory and open vs again. The required plug-ins are displayed in the tool menu.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.