Visual Studio 2015 custom install does not include

2019-09-01 05:20发布

问题:

There is no option to install the Visual Basic language when choosing "custom" install of Visual Studio 2015. I really need to do a custom install, but I also really need Visual Basic!

What a ridiculous fail by Microsoft, unless I'm missing something obvious here?

回答1:

"A Custom installation automatically includes the components that are in a Default installation."

So as per following, C# and VB always get installed. MSDN Guide on Installing VS 2015



回答2:

You misinterpret what you see, support for VB.NET and C# is always installed. There is no option to not install them.

Not 100% sure why they are not optional but high odds that if it were then the diskspace savings would not be substantial enough. Lots of the plumbing is already provided by the .NET Framework and MSBuild, they always need to be installed since VS itself depends on them. The only thing that could be skipped are the language services and the project templates, saves but a few handful of megabytes.


Trying to channel why you would ask such a question and not simply let it rip, if you discover that after installation you do not have VB.NET support then the install did not go well. That's a pretty common problem, almost always caused by having a beta or trial version installed previously and not uninstalling it correctly. That is a difficult problem to recover from, there is a lot of junk in the registry that should be reset/deleted. The usual way to recover is to run the original installer from the command-line with the /uninstall /force options.