Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resources for building a Visual Studio plug-in? [closed]

I'd like to build a pretty simple plug-in for Visual Studio, but I don't really know how this has to be done. Is this doable in (non-managed) C++?

I'd like to know what resources you'd recommend me.

like image 610
Xavier Nodet Avatar asked Sep 04 '08 14:09

Xavier Nodet


People also ask

Is build tools for Visual Studio 2022 free?

Use of the Build Tools require a valid Visual Studio license. If you can use the Visual Studio Community for free, you can also use the Build Tools with a valid free license. If you cannot use the Visual Studio Community, you need to use the Build Tools with a valid paid license.

Does Visual Studio code have build tools?

You can also install the Desktop development with C++ workload without a full Visual Studio IDE installation. From the Visual Studio Downloads page, scroll down until you see Tools for Visual Studio 2022 under the All Downloads section and select the download for Build Tools for Visual Studio 2022.


4 Answers

DevExpress has a free plug-in called DXCore which provides some nice abstractions upon which to then build other plug-ins...you might look into that.

like image 146
Jason Bunting Avatar answered Oct 03 '22 04:10

Jason Bunting


Do you really want to do it in unmanaged code? DevExpress has a nice free library to develop visual studio plugins but it's managed. This is what they use to develop Refactor and coderush

http://www.devexpress.com/Products/Visual_Studio_Add-in/DXCore/

It seems the underlying API is kind of messy. As far as I know this is the easiest way.

like image 25
Mendelt Avatar answered Oct 03 '22 03:10

Mendelt


I've never tried, so I don't know about doing it in C++, but this website has loads of information: http://msdn.microsoft.com/en-us/vsx/default.aspx

like image 30
Matt Bishop Avatar answered Oct 03 '22 02:10

Matt Bishop


A good place to start would be this tutorial:

http://www.c-sharpcorner.com/UploadFile/mgold/AddIns11292005015631AM/AddIns.aspx

like image 40
Espo Avatar answered Oct 03 '22 03:10

Espo