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

Bug: VS2017 Live Unit Testing - only minus's - doesn't work

TL;DR; Edit 6: I have narrowed it down and provided 5 steps to reproduce the problem/bug. Create a VS2017 c# Console App (.Net Full Framework) Add a method to the Program.cs and make the class public:   public class Program { static void…
Jeremy Thompson
  • 61,933
  • 36
  • 195
  • 321
41
votes
3 answers

Visual Studio 2017 Debug Error: To prevent an unsafe abort when evaluating the function *.toString all threads were allowed to run

I updated Visual Studio 2017 to version 15.8.2. After this update, I started to encounter these errors while debugging: Here are the error messages: Visual Studio Debug Error: To prevent an unsafe abort when evaluating the function *.toString…
41
votes
4 answers

Guidance for running tests using MSTest v1 in Visual Studio 2017 15.8.1

I upgraded to Visual Studio 2017 last week. A solution with several test projects using MSTest v1 seemed to be fine at first. Most test projects execute tests fine. This is .NET Framework, not .NET Core. However, there is one project where I am…
SvenAelterman
  • 1,532
  • 1
  • 15
  • 26
41
votes
9 answers

Xunit Unit Tests will not run

I am completely stuck on this issue. So my team has a unit test project in a services test project. The tests are discovered in the test explorer pane however when I try and run the tests I get these errors: 'Multiple test adapters with the same…
CMR
  • 549
  • 1
  • 5
  • 12
41
votes
9 answers

The application is in break mode - Unable to determine cause

I'm experiencing that the IDE breaks sometimes when my application terminates. When this occurs, the call stack is empty, and the thread list shows some threads which don't reveal any information to me. When I choose "Debugger"-"Step into", the IDE…
tmighty
  • 10,734
  • 21
  • 104
  • 218
41
votes
3 answers

How to enable /std:c++17 in VS2017 with CMake

I'm trying to add the /std:c++17 compiler flag to VS2017 with CMake. I'm using the "modern" cross-platform way so far: set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) # -std=c++11 instead of…
Ela782
  • 5,041
  • 5
  • 53
  • 66
41
votes
6 answers

VS2017 Could not load file or assembly Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll or one of its dependencies

When trying to open an older solution in VS2017 there is an old Unit Test project that is giving me a problem when building. I keep getting the following error when building this test project: Could not load file or assembly…
41
votes
3 answers

VSTS: Directory 'd:\a\1\a' is empty. Nothing will be added to build artifact 'drop'

I am making my first build in VSTS and I have had to ask a number of questions on SO. I have now been able to restore nuget packages and build my project but now I have to ensure the artifacts are copied to the right place. My last build attempt…
arame3333
  • 9,887
  • 26
  • 122
  • 205
41
votes
3 answers

Nuget CLI in Visual Studio 2017 - How to run?

According to the page at: https://dist.nuget.org/index.html NuGet 4.x is included in the Visual Studio 2017 installation. Latest NuGet releases are delivered as part of Visual Studio updates. Batteries are included! No matter whether I open a…
Mike Cheel
  • 12,626
  • 10
  • 72
  • 101
41
votes
4 answers

Docker Compose - adding identifier to network name

I trying to create network in docker-compose.vs.debug.yml file: networks: myNetwork: driver: bridge But docker adding some identifier: docker network ls -> NETWORK ID NAME DRIVER …
Mark Sabakov
  • 527
  • 1
  • 5
  • 9
41
votes
13 answers

Javascript breakpoints in Visual Studio 2017

I just installed Visual Studio 2017. After starting an ASP.NET MVC application I get the message that chrome debugging in Visual Studio is enabled. But my breakpoints in Visual Studio won't hit. The breakpoints on Razor code seems to be working but…
Ronald Meijboom
  • 1,534
  • 3
  • 17
  • 37
40
votes
5 answers

Visual Studio 2017 Enterprise + TFS 2018 + Git Clone = Unable to get local issuer certificate

I'm new to interact with Git and I'm trying to combine it with TFS infrastructure, but experiencing SSL authentication problems. No Github, no VSTS. TFS is on-premises, therefore local installation. Server part: I've installed TFS 2018 on Windows…
DioBrando
  • 987
  • 3
  • 10
  • 22
40
votes
6 answers

Package management initialization failed: Access Denied Error when opening Visual Studio 2017

I'm getting the following error when opening VS 2017 on Windows 7 64-bit: Package management initialization failed: Access Denied. You can get more information by examining the file: …
Xpleria
  • 5,472
  • 5
  • 52
  • 66
40
votes
3 answers

Change NuGet package folders used by Visual Studio 2017

There is no more packages solution folder in any csproj or project.json-based .NET Core project. NuGet CLI gets the list of used cache folders: nuget locals all -list Response: http-cache:…
Ilya Chumakov
  • 23,161
  • 9
  • 86
  • 114
40
votes
9 answers

Turning off "Language Service Disabled" error message in VS2017

We are getting the following "Error" message in our MVC web application in Visual studio 2017 Enterprise. The language service is disabled for project 'C:\Work\Blackhawk Platform\Platform-DEV-Branch\BlackhawkViewer\BlackhawkViewer.csproj' …
TResponse
  • 3,940
  • 7
  • 43
  • 63