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
98
votes
18 answers

VS 2015 Update 1 - Claiming I am debugging a release build

After updating to VS 2015 update 1, if I run a web project (MVC), stop the application, then try to run it again, VS stops and pops up a dialog claiming You are debugging a Release build of . Using Just My Code with release builds…
John T
  • 2,687
  • 2
  • 27
  • 36
98
votes
1 answer

Primary constructors no longer compile in VS2015

Until this very day, I could make use of primary constructors, such as: public class Test(string text) { private string mText = text; } To be able to do this, in the previous Visual Studio CTP, I had to add this to the…
Matko
  • 991
  • 1
  • 6
  • 5
97
votes
11 answers

Publishing from Visual Studio 2015 - allow untrusted certificates

I am publishing my ASP.NET 5 MVC6 project from Visual Studio 2015. I have imported publish profile from my server. Connection validates successfully, however when I publish my project I have the following…
koryakinp
  • 3,989
  • 6
  • 26
  • 56
96
votes
22 answers

Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependenc

An update occurred last night and now I find myself unable to do a ctrl + '.' for code suggestions in VS 2015. An error message comes up saying the following: Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0,…
Captain America
  • 1,802
  • 1
  • 19
  • 21
96
votes
27 answers

Error: You are debugging a Release build of X.dll

Background I have an ASP.NET MVC application project, along with various other projects within a Visual Studio solution. The different projects use various versions of the NPoco library as follows: The MVC project includes a version of NPoco…
Sam
  • 40,644
  • 36
  • 176
  • 219
94
votes
7 answers

Microsoft.DotNet.Props was not found

I have some error while loading the .net project solution. the error will be like The imported project "C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found.Confirm that the path in the
Navaneethan
  • 1,029
  • 1
  • 9
  • 15
94
votes
7 answers

Disable "Break Mode" page in VS2015

Recently migrated from VS2010 to 2015. Now when I pause a running app to work on it, I get this very annoying "Break Mode" page with "The application is in break mode". Well, no shoot Sherlock, I pressed pause. I know its in break mode. The page…
Wolfie
  • 1,801
  • 1
  • 14
  • 16
94
votes
7 answers

Missing CodeLens references count in Visual Studio Community edition 2015 and 2017

Is there a reason why the references count (code lens) is missing in Visual Studio Community edition? Is is possible to enable it in the options? Here is a screenshot of Visual Studio 2015 and 2017 Community edition: Here is a screenshot of…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
94
votes
6 answers

Publish website without roslyn

I am trying to create web application using Visual Studio 2015 and .NET 4.5.1. When I publish the website, visual studio create folder named roslyn. I know it's used to compile code on the fly, but unfortunately my hosting provider doesn't allow me…
Niyoko
  • 7,512
  • 4
  • 32
  • 59
91
votes
4 answers

Nuget consolidate vs update

In NuGet for Visual Studio 2015, what is the difference between consolidate and update actions? In both cases I select a specific version that I want to use in selected projects.
yatskovsky
  • 1,168
  • 1
  • 7
  • 10
91
votes
2 answers

Using Grunt, Bower, Gulp, NPM with Visual Studio 2015 for a ASP.NET 4.5 Project

Visual Studio 2015 comes with built in support for tools like Grunt, Bower, Gulp and NPM for ASP.NET 5 projects. However when I create a ASP.NET 4.5.2 project using Visual Studio 2015 it doesn't use these tools. I'd like to use bower instead of…
Robert Hegner
  • 9,014
  • 7
  • 62
  • 98
90
votes
15 answers

ASP.NET Core deployment to IIS error: Development environment should not be enabled in deployed applications

I followed this article to deploy my ASP.NET MVC Core 1.0 app to local IIS on my Windows 10 that is using IIS 10. The application deployed successfully and it opens the home page fine. I'm using Individual User Accounts Authentication. On the home…
nam
  • 21,967
  • 37
  • 158
  • 332
89
votes
9 answers

Visual Studio 2015 is extremely slow

I have installed Visual Studio 2015 Professional Edition, and my computer specs are Intel i7-3770 CPU 3.40 GHz, 8 GB RAM, and Windows 7 Enterprise 64-bit. I want to upgrade my project to .NET 4.6 which is written in Visual studio 2005 .NET 2.0, but…
Vins4nity
  • 976
  • 1
  • 8
  • 12
89
votes
13 answers

TypeScript "Compile on save" feature not working in Visual Studio 2015

The "Compile on save" feature isn't working for me after upgrading to Visual Studio 2015. When I make a change to a .ts file in my project and save, the status bar at the bottom of the IDE says Output(s) generated successfully, but the generated…
89
votes
5 answers

Refactor menu missing from Visual Studio 2015

I am having trouble finding the right-click context menu in Visual Studio 2015. I know that nothing is wrong with my project or the file I am working. I can find the right-click context refactor menu in Visual Studio 2013. However, in Visual Studio…
Mr. Young
  • 2,364
  • 3
  • 25
  • 41