Questions tagged [visual-studio-2017]

Visual Studio 2017 (aka Visual Studio "15", includes C++ compiler version 19.1) is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about this specific version.

Visual Studio 2017 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about Visual Studio 2017. Visual Studio 2017 was released to market (RTM) on March 7th 2017.

Some Major Changes and improvements

  • Modular installation of the IDE
  • Enhanced Performance on opening a solution
  • Extended support for new and Visual Basic 15 language features
  • is available for all TypeScript projects in Visual Studio
  • Support for language features
  • Live Unit Testing

Release notes can be found at the official Microsoft page.

12688 questions
76
votes
6 answers

The "GetReferenceNearestTargetFrameworkTask" task was not found

I have a problem with autocompletion in VS 2017 Community. Previously I had VS 2017 Enterprise from school, but the key expired so I moved to Community. Before, everything works great, but now it doesn't work at all. I found a solution on Stack…
LadIQe
  • 895
  • 1
  • 6
  • 8
74
votes
5 answers

How do I exclude files/folders from a .NET Core/Standard project?

In .NET Core and .NET Standard projects, if you put files and folders within the project directory, they are automatically picked up by Visual Studio; essentially they are part of the project. What if I have files/folders in there that aren't really…
Gigi
  • 28,163
  • 29
  • 106
  • 188
74
votes
17 answers

SQL Schema Comparison Error "Target is unavailable"

When comparing an SQLServer project in Visual Studio 2015 Update 2 against a database SQL Server 2012, it shows the error "Target is unavailable" or "Source is unavailable" when change the direction. It used to work properly a couple of months ago.…
dave
  • 2,291
  • 3
  • 19
  • 25
73
votes
9 answers

How to install (v142) Build tools in Visual studio

As I am trying to build something in visual studio then visual studio show me some warning and then If i ignored it and build then error occurs. error MSB8020: The build tools for v142 (Platform Toolset = 'v142') cannot be found. To build…
Vardaan Shukla
  • 876
  • 1
  • 6
  • 10
73
votes
4 answers

Visual Studio 2017 "Go to All" does not list items

VS 2017's new "Go to All" (Ctrl + T or Ctrl + ,) does not lists items for me. Searched for a setting for it, no luck. Also no error messages regarding this at all. Why is this happening, and how can I get the behaviour I expect?
Alper
  • 1,393
  • 13
  • 16
72
votes
14 answers

The setup for this installation of visual studio is not complete, really?

I have been using Vs 2017 for several months on dev machine. This fine morning says setup incomplete. Am I missing something?
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
72
votes
6 answers

Can not delete \bin\roslyn\VBCSCompiler.exe - Access is denied

I am facing a strange issue from roslyn compiler. Sometimes when I build the solution I face a strange issue in error list which does not let me build the solution. Here is the error: Severity Code Description Project File Line …
Rey
  • 3,663
  • 3
  • 32
  • 55
72
votes
13 answers

.NET Core app unable to start in IIS due to ErrorCode = '0x80004005 : 80008083

I have a .NET Core application. It runs locally with VS2017 and Kestrel. It runs locally under IIS. However, on the server it fails to start with a 502.5 - Process Failure message. In the event logs I get more detail: Application '...' with…
Keith
  • 150,284
  • 78
  • 298
  • 434
72
votes
33 answers

Visual Studio - suddenly cannot debug tests

I'm not sure what I did, but all of a sudden, my Visual Studio 2012 will not debug any tests. If I select a test from the Test Explorer and tell it to run, it simply outputs this in the Test Output window: > ------ Discover test started ------ >…
68
votes
2 answers

How to upgrade from VS 2017 to 2019?

VS 2019 is RTM, and I was wondering what's the proper way to upgrade from VS 2017, is there a dedicated 'upgrade' method, or is it uninstall and install? Maybe install and uninstall? What's the right way to do it without having to uninstall and…
68
votes
15 answers

Cannot open include file: 'stdio.h' - Visual Studio Community 2017 - C++ Error

I am trying to build a solution on Visual Studio Community 2017, but I keep getting the error "Cannot open include file: 'stdio.h' ". I've read through several similar questions, but I still can't fix this problem. It looks like the stdio.h file is…
dahiana
  • 1,171
  • 2
  • 9
  • 11
67
votes
2 answers

How do I get Spy++ with Visual Studio 2017?

Background I am looking for Spy++. I believe it should be included in Visual Studio 2017 since the latest Visual Studio help content references it: https://learn.microsoft.com/en-us/visualstudio/debugger/introducing-spy-increment. Problem I have…
Sam
  • 40,644
  • 36
  • 176
  • 219
66
votes
16 answers

Visual Studio 2017 bin\roslyn files locked during build

I am running VS2017 version 26430.13 and every time I try to build a web project I get errors that access to the files in the bin\roslyn is denied. Over a period of about 5 minutes the files are unlocked and I can build but the 5 minute delay is…
John S
  • 7,909
  • 21
  • 77
  • 145
66
votes
1 answer

Visual Studio 2017 Collapsing Regions

I've noticed that in Visual Studio 2017, when I hit CTRL+M, CTRL+O, regions do not collapse to definitions. Has there been a change on this? How do I collapse everything -- including regions? BTW, I get the same results whether I use the keyboard…
Sam
  • 26,817
  • 58
  • 206
  • 383
64
votes
11 answers

VS 2017 : The security debugging option is set but it requires the Visual Studio hosting process which is unavailable

My solution (which contains a dozen projects) works perfectly in Visual Studio 2013. In Visual Studio 2017, I can open the solution and compile it. But if I start the debug, I systematically get this error message: The security debugging option…
Hathors
  • 693
  • 1
  • 7
  • 13