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
190
votes
10 answers

Class Diagrams in VS 2017

I have been using VS 2015 and like the Class Diagram item. I recently upgraded to 2017 and can't seem to find the Class Diagram item. Anyone know how I get to it?
Walt
  • 1,901
  • 2
  • 9
  • 5
184
votes
44 answers

Visual Studio 2017 - Git failed with a fatal error

I am using Visual Studio 2017 Community Edition (CE), and I have signed into my Microsoft account and I am connected to VSTS. I can see all my projects and repositories, but when I attempt to pull/fetch/push any changes I get the following…
sham
  • 3,691
  • 4
  • 15
  • 23
180
votes
10 answers

How to disable the new debug window in VS2017

I'm using Visual Studio 2017 RC and getting very frustrated with the new Chrome window that pops up when you click Debug. Issues with the Debug Chrome Window: Takes ages to start/"attach" website (I think it's attaching all the javascript debugging…
mejobloggs
  • 7,937
  • 6
  • 32
  • 39
178
votes
5 answers

Unit testing internal methods in VS2017 .NET Standard library

I am currently playing around with the latest Visual Studio 2017 Release Candidate by creating a .NET Standard 1.6 library. I am using xUnit to unit test my code and was wondering if you can still test internal methods in VS2017. I remember that you…
Phil Murray
  • 6,396
  • 9
  • 45
  • 95
176
votes
8 answers

Visual Studio Do not open new browser instance

when I try to run a web application in visual studio 2017RC on windows 10, it opens a new browser instance(in my case chrome). I've tried also with internet explorer, situation is same, and browser not signed in, but if I just manually run chrome it…
ovasylenko
  • 2,635
  • 4
  • 17
  • 29
175
votes
9 answers

How can I run NUnit tests in Visual Studio 2017?

I've just installed Visual Studio 2017. I have a project using NUnit for the test cases. Ctrl + R - T no longer runs the tests, and the Test Explorer no longer finds any test cases marked with the TestCase attribute. Is there a way to get NUnit…
user2286552
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…
164
votes
7 answers

Remove vertical dotted indentation lines in Visual Studio 2017

I've just installed Visual Studio 2017 and got strange vertical indentation marks in code editor. How can I remove them? P.S. I disabled all extensions but it doesn't help.
algot
  • 2,428
  • 3
  • 19
  • 23
162
votes
25 answers

Strange issue with System.Net.Http 4.2.0.0 not found

I have a strange issue, which drives me crazy… I have a simple Class Library Project (Full .NET Framework, 4.6.1) with a wrapper class for functionality around Cosmos DB. Therefore I have added the “Microsoft.Azure.DocumentDB” NuGet Package 1.19.1…
162
votes
7 answers

How to disable JavaScript build error in Visual Studio 2017?

I just updated Visual Studio 2017 from RC to final. I didn’t get the following error but recently I get this error. In building the project, I get the following error and it prevents the web project to start: Severity Code Description Project…
Mohammad Dayyan
  • 21,578
  • 41
  • 164
  • 232
157
votes
2 answers

How to disable "Run execution to here" in Visual Studio 15?

How do I disable "Run execution to here" button that appears when moving cursor to the left of the code? It's really annoying when I accidentally click it while selecting code.
user1306322
  • 8,561
  • 18
  • 61
  • 122
156
votes
8 answers

How can I refresh the list of remote branches in my Visual Studio 2017 Team Explorer panel?

How can I refresh the list of remote branches in my Visual Studio Team Explorer panel? In the Visual Studio 2017 Team Explorer, Branches panel, I could see the 10 or so branches in our VSTS instance. Then in Chrome, I deleted some of the older…
SteveC
  • 15,808
  • 23
  • 102
  • 173
156
votes
13 answers

The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found

When trying to compile a solution, I get the following build error: Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework…
Justin
  • 17,670
  • 38
  • 132
  • 201
153
votes
10 answers

Change language of Visual Studio 2017 RC

I have installed Visual Studio 2017 RC, and by default it set language to my system language (Polish) so I was trying to change it to EN but in Options > Environment > International Settings i have only Polish language. There is link to "download…
Carlos28
  • 2,381
  • 3
  • 21
  • 36
146
votes
21 answers

Auto Versioning in Visual Studio 2017 (.NET Core)

I have spent the better part of a few hours trying to find a way to auto-increment versions in a .NETCoreApp 1.1 (Visual Studio 2017). I know the the AssemblyInfo.cs is being created dynamically in the folder: obj/Debug/netcoreapp1.1/ It does not…
Jason H
  • 4,996
  • 6
  • 27
  • 49