How to Add Visual Studio Add-in - visual-studio

I downloaded an add-in for VS (.vsix) and went to tools>add-in manager... and it doesn't offer a browse for add-ins button. I looked on the extensions one too and didn't see anything that would let me add it.
Simple question, I know, but couldn't find anything on the net that would help me. I come from VBA.
I'm using Windows XP and VS 2010 Professional.

From the answer on this question on Super User:
VSIX is a Visual Studio 2010 extension installer. You must have Visual Studio 2010 in order to install them, but you should be able to install it by double-clicking the .vsix file. Alternatively you should be able to install it from within the VS Extension Manager (Tools->Extension Manager)

Related

What do I need to do to program an MFC/STL program in Visual Studio?

I've installed Visual Studio on my private PC, the version is "Microsoft Visual Studio Community 2019", version 16.1.6.
In order to prepare a job interview, I'd like to do some basic MFC/AFX programming, starting by the basic CMapStringToString example from the Microsoft website.
This, however, seems not to work, as I don't have access to the mentioned file afxcoll.h. Indeed: there is no file, called afx*.h on my PC.
Is this a limitation of my free downloaded Visual Studio installation, or is there any add-in, add-on, extension or whatever I can install in order to work with CMapStringToString objects?
Thanks in advance
You need to explicitly install MFC support in Visual Studio - which you can do on Community editions:
Open Visual Studio Installer from your Start Menu
Click the Modify button
Select the Individual Components tab
Scroll down to SDKs, Libraries and frameworks
Check the various MFC/ATL options for various platforms

Create Setup/MSI installer in Visual Studio 2017

I have written an outlook add-in VSTO in Visual Studio Pro 2017 (VB.NET). I have published it which creates a setup.exe which is OK but I would like to create a proper installer that copies the files locally and can be run silently etc.
How do I go about doing this? When I go to create new project there is no installer project option.
You need to install this extension to Visual Studio 2017/2019 in order to get access to the Installer Projects.
According to the page:
This extension provides the same functionality that currently exists in Visual Studio 2015 for Visual Studio Installer projects. To use this extension, you can either open the Extensions and Updates dialog, select the online node, and search for "Visual Studio Installer Projects Extension," or you can download directly from this page.
Once you have finished installing the extension and restarted Visual Studio, you will be able to open existing Visual Studio Installer projects, or create new ones.
Other answers posted here for this question did not work for me using the latest Visual Studio 2017 Enterprise edition (as of 2018-09-18).
Instead, I used this method:
Close all but one instance of Visual Studio.
In the running instance, access the menu Tools->Extensions and Updates.
In that dialog, choose Online->Visual Studio Marketplace->Tools->Setup & Deployment.
From the list that appears, select Microsoft Visual Studio 2017 Installer Projects.
Once installed, close and restart Visual Studio. Go to File->New Project and search for the word Installer. You'll know you have the correct templates installed if you see a list that looks something like this:

PowerShell in Visual Studio 2012

I have a project written in PowerShell and I want to create an interface for it using Visual Studio 2012. How can I load the .ps1 file in Solution Explorer? I have already run through these steps:
http://nickmeldrum.com/blog/how-to-run-powershell-scripts-from-solution-explorer-in-visual-studio-2010
(the steps are for Visual Studio 2010 but I thought the settings shouldn't differ too much) but now I don't know what to do...I have to install some tools or something?Thank you!
You haven't specified what's the issue here. Steps from the linked article should work with Visual Studio 2012 without any adjustments as far as I see. Make sure that you followed those steps correctly.
BTW, you may want to install "PowerShell Tools for Visual Studio 2012" extension.

Visual Studio 2010 for Windows Phone Extension Manager

Really simple question:
Where do you find Extension Manager in Visual Studio 2010 for Windows Phone?
I'm trying to install the NuGet extension but.. Just can't seem to find extension manager, looking under the tools menu where I expect it but.. nothing.
Thanks!
The Extension Manager is not supported in Visual Studio 2010 for Windows Phone, so you can't find it.
NuGet is the extension manager that is built into Visual Studio 2012 and is also available for Visual Studio 2010 as a seperate download. It's easy to intall and can be downloaded from nuget.org. Once it's installed adding the Windows Phone Toolkit is as easy as right-clicking on your project and selecting "Managed NuGet packages...".
Extension manager is found in Menubar->Tools

How to distribute/deploy a Visual Studio Add-in

I created my own Add-in with Visual Studio 2010. This Add-in is loaded at the startup of Visual Studio and it adds an entry in the Tools menu. The action of the Add-in is executing by clicking on its entry in the Tools menu.
The Add-in works well, but now I want to create an installer or something to deploy it on others computers.
I tried to create an MSI project, but I don't know where to copy the dll of the Add-in and how to register it in Visual Studio.
Then I tried to create a VSIX project, I managed to install the extension but my entry in the Tools menu is not visible/displayed.
Anyone knows a good way to deploy the Visual Studio ?
VSIX installers are used for deploying Visual Studio 2010 extensions. I'm not sure it works for add-ins. I would go with MSI. Here you will find a tutorial:
http://www.codeproject.com/KB/install/AddinCustomAction.aspx

Resources