How to update Visual Studio 2015? - visual-studio

I recently installed Microsoft Visual Studio community verion 2015 on my computer for educational purposes. However while installation I conservatively chose not to install the source files for C/C++. Is there any way to rectify this? There doesn't seem to be any update menu in Visual Studio where I can do this.

You can have Visual Studio check for any updates itself by going to Tools > Extensions & Updates > Updates > Product Updates.

You can install any of the custom components (Visual C++, Visual F#, others) later if you don’t select them during the initial setup, there have some methods to modify VS to select the custom components to update and you can have a look at the following:
Go to Control Panel—Programs and Features, right click the Visual Studio Community 2015 with updates and Change, it popups the VS installer windows and click Modify button, then you can find the option ‘Visual C++’ under Programming Languages and check it, click ‘Next’ button to install it like the following screenshot.
If you still store the installer file of the Visual Studio Community 2015 with update 3 on your computer, right click it and run it as administrator, click Modify button and you can find the same installer windows as the above, check the option ‘Visual C++’ to install it.

Related

Auto Complete Not Working In New Visual Studio 2022 For UNITY

So I have had visual studio 2019 and I used it with unity. I needed to delite it and reinstall it becouse of somthing and when I reinstalld it I installed new 2022 version. Ever since auto complete isn't working.
I have downloaded the "Game development with Unity" modifyer and selected Visual Studio Community 2022 in unity preferences but it still isn't working.
Does anyone have an idea what is wrong maby?
In the Unity Editor, select the Edit > Preferences menu. On the left, select the External Tools tab.
Select Browse... from the dropdown list.
Navigate to the C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE directory and select devenv.exe. Then select Open.
Close the Preferences dialog to complete the configuration process.
And make sure that you have Microsoft Visual Studio installed in package manager:
check this link: https://learn.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/getting-started-with-visual-studio-tools-for-unity?pivots=windows
there are 2 fixes that I think will help you:
You need to enable IntelliSense by opening Tools -> Options -> Search for Intellisense, and head over to the C# Section and enable features like Show completion list after a character is typed.
For good practice, you should also install the C# packages for Visual Studio 2022.

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

Visual Studio 2017 Python Feature Addition Issue

I want to install python for Visual Studio 2017 and to do that i launched the visual studio installer using this link
After it opens it goes to this window
After clicking update it comes back to same update window not sure how to solve this problem i even tried with launching direct VS2017 setup that didn't help either...please let me know if anyone has seen this issue and next steps.
To install all the tool required for developping with Python using Visual Studio 2017, you need to to launch your Visual Studio Installer corresponding to your edition of Visual Studio.
Then you can add the workload in order to install everything required to code with python.

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:

How do I see the list of addins and plugins in Visual Studio?

I think I have a plugin or addin to studio installed which has killed all versions of studio.
Where can I see the list of plugins and addins that studio is loading? I believe I have gone through all of the menu to find the list of addins.
Would someone point me in the direction that shows me the list of addins? I will remove them all one by one until I find the one that is "killing my productivity" for the day. :)
They appear in three difference places, but any given addin/package doesn't necessarily appear in in all those places:
The splash screen
Tools / Add-in manager
Help / About (in the "Installed products" list)
In Visual Studio 2013, go to the "Tools" menu and open "Extensions and Updates".
In "Installed"->"All" section you can see it all.
Try looking at your packages installed for Visual Studio. They are registered in the registry under:
Visual Studio 2008
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\Packages
Visual Studio 2005
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp
Packages are the complete installs of all addins, automations, and alike.
If you have a lot, I say kill them all. And then reinstall your specific addons (such as CodeSmith or VisualSVN). You may need to clean up the addons that were manually added. But, I think that once you remove the "Package", it disables those addons and automation tools automatically.
For reference, this is my fresh new install of Visual Studio 2008 SP1 on Windows 7 RTM. Only 1 plugin, and it's for SQL Server's SSIS:
registery http://eduncan911.com/blog/thumbnail/billrob-stackoverflow.png
Go to the Tools menu and open Add-in manager. Or you can go to the visual studio folder inside of My Documents and look in the addins folder.

Resources