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
139
votes
7 answers

C# 6.0 Features Not Working with Visual Studio 2015

I am testing Visual Studio 2015 with C# 6.0 but the language features are not working. In an MVC web application, the following code does compile: if (!string.IsNullOrWhiteSpace(Model.Profile?.TypeName)) { // More logic here... } However, when…
Chris Schiffhauer
  • 17,102
  • 15
  • 79
  • 88
137
votes
6 answers

How do I disable C# 6 Support in Visual Studio 2015?

Background We have a project that we're developing in VS 2015 with C#6 enabled that occasionally needs to be opened by developers using VS 2013 without C#6. We have no intention to use C# 6 within this particular solution (as much as I'd like…
SeanKilleen
  • 8,809
  • 17
  • 80
  • 133
136
votes
5 answers

VS2015 build fails with no error message with Dynamic

I was writing a unit test on a piece of code that returned JSON. The type that it returns is an anonymous type, so I thought to verify the values on it I'd just cast the object to a dynamic to do my assertions. However, when I do that, my build…
DLeh
  • 23,806
  • 16
  • 84
  • 128
136
votes
12 answers

Visual Studio 2015 or 2017 shows IntelliSense errors but solution compiles

We are currently evaluating the new Visual Studio 2015 and encountered a strange problem with IntelliSense. When I compiled our main solution with the new studio the build succeeds, but nevertheless 6 errors are shown. I discovered that it's not a…
Ash
  • 3,283
  • 6
  • 16
  • 20
128
votes
11 answers

Is Xamarin free in Visual Studio 2015?

Currently I explore the Visual Studio 2015 RC and realized that Xamarin Studio is integrated into Visual Studio and its installer. My Question is: Is Xamarin from now on free in Visual Studio?
Dennis Kassel
  • 2,726
  • 4
  • 19
  • 30
126
votes
6 answers

Is there a way to zoom the Visual Studio text editor with a keyboard shortcut?

Yesterday I found myself needing to zoom my Visual Studio text editor and was without a mouse (don't ask). Typically I do this by holding down CTRL and scrolling the mouse wheel. I also couldn't figure out how to tab into the area where you can…
126
votes
7 answers

class name and method name dropdown list is missing (visual studio setting)

Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to.
125
votes
20 answers

unresolved external symbol __imp__fprintf and __imp____iob_func, SDL2

Could someone explain what the __imp__fprintf and __imp____iob_func unresolved external means? Because I get these errors when I'm trying to compile: 1>SDL2main.lib(SDL_windows_main.obj) : error LNK2019: unresolved external symbol…
RockFrenzy
  • 1,585
  • 3
  • 11
  • 13
123
votes
4 answers

Visual Studio 2015 doesn't have cl.exe

I downloaded Visual C++ and Visual Studio, but I cannot find cl.exe to compile my C++ file. The path to the install is `C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin. Where can I find the compiler to compile C++ code?
Vincent Han
  • 1,373
  • 2
  • 8
  • 5
121
votes
21 answers

Visual Studio 2015 not syntax highlighting razor nor Intellisense

My Razor views in VS2015 RC are not showing the proper coloring for C# code. My project was working fine in VS2013, but it isn't in 2015, and it's not giving me any Intellisense on the C# code. The solution builds and the site runs fine. I tried the…
DLeh
  • 23,806
  • 16
  • 84
  • 128
121
votes
9 answers

How do I uninstall *all* nuget packages from a solution in Visual Studio

I know I can uninstall-package from the PM console. I got into some dependency issues with another project and I want to start over, and I need to delete all packages in one shot. Is there a way?
119
votes
30 answers

Visual Studio 2015 project builds failed but no errors

My project builds all fail but I'm not shown any errors. I tried cleaning and rebuilding, that didn't work. I changed the MSBuild output verbosity to 'Diagnostic' hoping it would help me identify the problem and now I'm stuck. Here's what the…
Rob Greenlee
  • 1,217
  • 2
  • 8
  • 10
118
votes
5 answers

Visual Studio 2015 Update 1 spamming localhost

I installed Visual Studio Update 1 yesterday and now when running ASP.NET services locally on IIS (not the express version). I am seeing hundreds of requests per second to the address …
Fishcake
  • 10,496
  • 7
  • 44
  • 72
115
votes
12 answers

Visual Studio 2015 break on unhandled exceptions not working

Visual studio used to have a specific checkbox to "Break on Un-handled exception". In 2015 this has been removed (or moved somewhere I cannot find it). So now my converted projects no longer break if I fail to provide a user-level exception…
Ted Lowery
  • 1,535
  • 2
  • 13
  • 8
113
votes
29 answers

The type or namespace name 'System' could not be found

I have the following errors (and more) in all my views (*.cshtml) when opening my project in Visual Studio 2015 Professional. Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly…
Hélder Gonçalves
  • 3,822
  • 13
  • 38
  • 63