Questions tagged [visual-studio-2015]

Visual Studio 2015 is the version of Microsoft's Visual Studio product suite which follows 2013 version (also known as "Dev14", includes C++ compiler version 19.0). Use this tag if you have a specific question about Visual Studio 2015 features and functionality, not just a question reading your code.

The version of Visual Studio which follows . The Release to Market (RTM) version of Visual Studio 2015 has been made available from July 20th 2015.

Visual Studio 2015 includes a variety of improvements, including better use of the Roslyn compiler tools, simplified community versions and plugin support for the community edition, better cross-platform development support and an improved debugger1.

Visual Studio is followed by , which was released on March 7th 2017

###More Information:

19634 questions
175
votes
15 answers

How to install VS2015 Community Edition offline

When visiting Microsoft website to download VS2015 you can download a file of a few MB in size to install Visual Studio. When you open the file it acquires the files necessary from internet, but you can not choose where these files are stored. How…
Mike de Klerk
  • 11,906
  • 8
  • 54
  • 76
171
votes
46 answers

Visual Studio 2015 or 2017 does not discover unit tests

EDIT 2016-10-19: The original question was about an issue specific to VS2015 CTP6 with the XUnit test runner. It's clear from the answers that there is a much broader issue with unit test discovery in Visual Studio which may occur in many different…
168
votes
2 answers

How do I use the C#6 "Using static" feature?

I'm having a look at a couple of the new features in C# 6, specifically, "using static". using static is a new kind of using clause that lets you import static members of types directly into scope. (Bottom of the blog post) The idea is as…
Cerbrus
  • 70,800
  • 18
  • 132
  • 147
166
votes
31 answers

Why does intellisense and code suggestion stop working when Visual Studio is open?

I have been having issues with Intellisense in Microsoft Visual Studio 2012. I will be working in a project, editing code and whatnot (after a period of time, anywhere from 5 minutes to over an hour) and all of a sudden, no more code suggestions or…
154
votes
2 answers

How to use C# 7 with Visual Studio 2015?

Visual Studio 2017 (15.x) supports C# 7, but what about Visual Studio 2015 (14.x)? How can I use C# 7 with it?
Luis Teijon
  • 4,769
  • 7
  • 36
  • 57
154
votes
23 answers

Multiple Errors Installing Visual Studio 2015 Community Edition

When installing Visual Studio 2015 Community Edition on Windows 10, using the web installer, everything runs fine, however, the following packages fail to install: Team Explorer for Visual Studio 2015 -> Fatal Error Microsoft NuGet - Visual Studio…
TheKingOfAtlantis
  • 1,792
  • 2
  • 12
  • 18
150
votes
12 answers

Collapse all #regions only(!) in C# (Visual Studio)

There's a number of keyboard shortcuts and menu commands to automatically expand or collapse all foldables in the current document. Ctrl+M, Ctrl+L toggles all foldables recursively, from the top namespace down to the inner methods and comments.…
ygoe
  • 18,655
  • 23
  • 113
  • 210
145
votes
13 answers

Missing Microsoft RDLC Report Designer in Visual Studio

In Visual Studio 2015, I cannot find the designer for RDLC reports anymore. Does anyone know if this is only a bug and if it is provided later on or if Microsoft wants to kill the RDLC or if they want us to use an external designer and when, which…
HCL
  • 36,053
  • 27
  • 163
  • 213
145
votes
19 answers

Visual Studio 2015 is very slow

I just finished the installation and the whole IDE is super slow. It seems like it's making some kind of heavy CPU calls in the background where the whole IDE literally freezes and becomes unresponsive for about 2-3 seconds. I was not having this…
Spets
  • 2,391
  • 4
  • 24
  • 26
145
votes
8 answers

How to use C# 6 with Web Site project type?

Updated an existing Web Site project type Visual Studio 2015, I changed the Framework to 4.6. I then expected to have all those new features available in my code behind files. Unfortunately I'm getting errors like: Error CS8026: Feature…
Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
143
votes
4 answers

Project not selected to build for this solution configuration

The error: >------ Skipped Deploy: Project: DrawShape.Android, Configuration: Debug Any CPU ------ >Project not selected to build for this solution configuration The configuration in Configuration Manager seems correct: This is the code of the…
Xavier Peña
  • 7,399
  • 9
  • 57
  • 99
143
votes
32 answers

Visual Studio 2015 installer hangs during install?

I downloaded the full ISO for Visual Studio Ultimate CTP 6. The installation program got to about the 90% mark, gauging by the progress bar, and just stuck there. There was frequent activity from Superfetch, Anti-malware protection, and other…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
141
votes
31 answers

CMake does not find Visual C++ compiler

After installing Visual Studio 2015 and running CMake on a previous project, CMake errors stating that it could not find the C compiler. The C compiler identification is unknown The CXX compiler identification is unknown CMake Error at…
Asher
  • 2,891
  • 3
  • 13
  • 12
139
votes
17 answers

Visual Studio 2015 Broken Razor Intellisense

After installing and then repairing my VS2015 instance I still cannot get intellisense (server side) to work in my MVC views. I get alerted by message prompt as soon as I open for the first time in a session an .cshtml file and get addressed to the…
Cristian Merighi
  • 1,631
  • 2
  • 13
  • 9
139
votes
10 answers

How do I disable VsHub.exe in the system tray?

Starting Visual Studio 2015 also launches two other executables: VsHub.exe and Microsoft.VsHub.Server.HttpHost.exe Both of these take a considerable space in the task manager. How can I delete this "Visual Studio Hub" option? I don't use any of…
Reda Lahdili
  • 1,533
  • 2
  • 10
  • 5