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
423
votes
19 answers

How to unapply a migration in ASP.NET Core with EF Core

When I run PM> Remove-Migration -context BloggingContext in VS2015 with an ASP.NET Core project using EF Core I get the following error: System.InvalidOperationException: The migration '20160703192724_MyFirstMigration' has already been applied to…
nam
  • 21,967
  • 37
  • 158
  • 332
401
votes
34 answers

tsconfig.json: Build:No inputs were found in config file

I have an ASP.NET core project and I'm getting this error when I try to build it: error TS18003: Build:No inputs were found in config file 'Z:/Projects/client/ZV/src/ZV/Scripts/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude'…
rood
  • 11,073
  • 3
  • 19
  • 18
374
votes
2 answers

Running two projects at once in Visual Studio

I created a solution in Visual C# 2010 Express that contains two projects: one is the client, the other is the server. I would like to debug both at the same time, but I can only seem to run one of the projects during debugging. Is there a way to…
user142162
352
votes
3 answers

Should I add the Visual Studio 2015 .vs folder to source control?

Visual Studio 2015 creates a new folder called ".vs". What is the purpose of it and should I add it to source control?
SoftwareFactor
  • 8,430
  • 3
  • 30
  • 34
346
votes
71 answers

ASP.NET 5 MVC: unable to connect to web server 'IIS Express'

What I'm doing: Opening Visual Studio Community 2015 File -> New -> Project Under Visual C#: Web -> ASP.NET Web Application Web Application And press f5 for the popup error "unable to connect to web server 'IIS Express'." Deleting…
Sarek
  • 3,518
  • 2
  • 10
  • 9
337
votes
37 answers

NuGet Packages are missing

I searched this problem but none of the solutions worked. I have Visual Studio Professional 2015 installed and I am using TFS. My NuGet version is 3.1.6. This problem is happening only in my C# Web API/MVC project. I am getting the below…
Ques Tion
  • 3,365
  • 2
  • 11
  • 10
331
votes
5 answers

How do you reference a capture group with regex find and replace in Visual Studio 2012, 2013, 2015, and VS Code

I realize there are a ton of questions about this, but none that I found specifically referenced which VS version they referred to. With that important information lacking, I still was unable to successfully use the answers I found. The most common…
305
votes
25 answers

How do I enable NuGet Package Restore in Visual Studio?

There's a similar post on stack but it doesn't help with my issue possibly because I am using Visual Studio 2015. How do I get the "Enable NuGet Package Restore" option to appear in VS2015? I chose File > New Project and created an empty ASP.NET Web…
Dan Beaulieu
  • 19,406
  • 19
  • 101
  • 135
295
votes
2 answers

Getting "project" nuget configuration is invalid error

I'm getting "[project] nuget configuration is invalid" error. I received an error like this before and used the 'Update Nuget package manager' solution mentioned here: Unable to Install Any Package in Visual Studio 2015 I've also tried the other…
Ash
  • 5,786
  • 5
  • 22
  • 42
284
votes
21 answers

Could not load file or assembly "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

I've copied my project to a clean Windows 10 machine with only Visual Studio 2015 Community and SQL Server 2016 Express installed. There are no other framework versions installed apart from those installed with Windows 10 and VS2015 or SQL…
Ivan-Mark Debono
  • 15,500
  • 29
  • 132
  • 263
280
votes
6 answers

What is the difference between a Shared Project and a Class Library in Visual Studio 2015?

I was looking at the new features for Visual Studio 2015 and Shared Project came up a lot but I don't understand how it is different to using a Class Library or a Portable Class Library. Can anyone explain? Edit: Shared Project is a new feature in…
Indy411
  • 3,666
  • 4
  • 20
  • 19
273
votes
24 answers

The term "Add-Migration" is not recognized

I'm using this MSDN Tutorial to run in VS2015 the command PM> Add-Migration MyFirstMigration -context BloggingContext that ran yesterday successfully but today it's giving the following error that is also pointed out by other users here. I even…
nam
  • 21,967
  • 37
  • 158
  • 332
271
votes
31 answers

Typescript error "Cannot write file ... because it would overwrite input file."

In my Typescript 2.2.1 project in Visual Studio 2015 Update 3, I am getting hundreds of errors in the error list like: Cannot write file 'C:/{{my-project}}/node_modules/buffer-shims/index.js' because it would overwrite input file. It looks like…
Chris Barr
  • 29,851
  • 23
  • 95
  • 135
263
votes
2 answers

Visual Studio 2015 Database Project directory contains a file with extension jfm

Assuming we have a database project called MyDatabase then a file called MyDatabase.jfm appears in the root of the project directory. It is exclusively locked while the project is open in Visual Studio It is a binary file It has only started…
240
votes
1 answer

How to disable Diagnostic Tools?

When debugging a C# application in Visual Studio 2015, Diagnostic Tools starts automatically. I unchecked both checkboxes in Select Tools, but it doesn't seem to completely disable it. How do I turn it off (and on again later)?
ispiro
  • 26,556
  • 38
  • 136
  • 291
1
2 3
99 100