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
50
votes
11 answers

Visual Studio 2017 Failed to launch debug adapter 'chrome'

I have a asp.net mvc 5 project. When I try to start debugging with enabled Script debugging mode, and using Chrome, the Visual studio 2017 shows the error: It works when I set 'Enable legacy Chrome JavaScript debugger for ASP.NET' in Visual Studio…
Andrii
  • 689
  • 1
  • 6
  • 12
50
votes
10 answers

Use Visual Studio 2017 with .Net Core SDK 3.0

How Can I open .Net Core 3.0 project in Visual Studio 2017? I have downloaded the .NET Core 3.0 SDK from dotnet.microsoft.com and created new project with dotnet new command in a folder. Building C# project shows error: The current .NET SDK does…
Philipp
  • 521
  • 1
  • 4
  • 6
50
votes
3 answers

How to change "Visual Studio 2017" folder location?

How do you change the location for the "Visual Studio 2017" directory that is created under %USERPROFILE%/Documents? In 2015 and earlier, you could move all the folders out of "My Documents" by editing the registry, but those values seem to have…
Duodenalsalmons
  • 652
  • 1
  • 7
  • 13
48
votes
7 answers

Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release

I am getting the warning message "cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release" while building my project with Visual Studio 2017 latest update 15.9.2. How to resolve this warning?
Ashish Rathi
  • 1,418
  • 2
  • 13
  • 26
48
votes
9 answers

Clear stored TFS credentials in Visual Studio 2017

I had to change my password for my account which is not the same account i log into my machine with. When connected to the local tfs server, I supplied my password to VS2017 and checked remember password. Now that the password has changed, I…
AndySousa
  • 1,062
  • 2
  • 15
  • 30
48
votes
9 answers

SSDT installation issue (Failed to execute EXE package.)

I am having an issue with the SSDT installation for VS2017. I have ran the installer three times, once basic, once following VS update and the last following some minor windows updates. All 3 times the logs stumble at the same point, anyone know…
48
votes
24 answers

Can't find ADO.net Entity Data Model template in VS2017

I was trying to create an ASP.NET MVC web application in Visual Studio 2017. I need to take an EF database-first approach for the work. Unfortunately I can't find the ADO.NET Entity Data Model template in my "Data" template folder: I have tried…
48
votes
4 answers

Implement interface includes throw new NotImplementedException... why?

I'm using VS2017 Community and it just received an update yesterday. Today I wanted to implement an interface and now the implementation looks like this: public string City { get => throw new NotImplementedException(); set => throw new…
Christian
  • 1,080
  • 1
  • 20
  • 37
47
votes
2 answers

Evaluating the function 'function' timed out

Environment: Visual Studio 2017 version 15.5.2 Error: Evaluating the function 'function' ("Windows.Controls...ToString" in my case) timed out and needed to be aborted in an unsafe way. Answers say this commonly occurs when Options > Debugging…
P.Brian.Mackey
  • 43,228
  • 68
  • 238
  • 348
46
votes
5 answers

C# 7.1 can't be published

I have ASP.NET Core C# web application. I made some changes that now use C# 7.1 features. I changed project version, so it compiles and runs fine. However, when I try to publish the project, I am getting an error: Feature 'default literal' is not…
Felix
  • 9,248
  • 10
  • 57
  • 89
46
votes
2 answers

VisualStudio Build Tools 2017 offline installer

I generate an an offline installer for the build tools like this: vs_BuildTools.exe --layout c:\VS_BuildTools2017_offline --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US I move this…
n80fr1n60
  • 701
  • 1
  • 6
  • 12
46
votes
2 answers

How to properly unit test a .NET project with multiple target frameworks, given implementation differences among targets?

Consider a .NET class library that targets the following frameworks: .NET Framework 2.0 .NET Framework 4.6 .NET Standard 1.0 .NET Standard 1.3 .NET Portable Profile336 Let's not immediately worry about why this is the exact list of target…
Joe Amenta
  • 4,662
  • 2
  • 29
  • 38
46
votes
9 answers

How do I call Visual Studio 2017 RC's version of MSBuild from a BAT file?

Earlier versions of MSBuild could be found here: %programfiles(x86)%\msbuild\\bin\msbuild.exe. But for Visual Studio 2017RC the path is %programfiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe. The type of…
Arve
  • 7,284
  • 5
  • 37
  • 41
45
votes
5 answers

How can I use C# 8 with Visual Studio 2017?

I'd like to use C# 8.0 (especially ranges and non-nullable reference types) in Visual Studio 2017. Is it possible?
nonsensation
  • 3,627
  • 6
  • 28
  • 41
45
votes
4 answers

React project in Visual Studio 2017

I want to develop a React application in Visual Studio 2017 alongside my .NET application (in the same solution). I am using TypeScript, so I want a project type where I can customise the build (I want to webpack the project, etc, so the standard…