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
39
votes
6 answers

How to use NPM and install packages inside Visual Studio 2017?

I have a simple Visual Studio solution, running ASP.NET Core v2 and building a React app. Now, I want to install a simple component using the NPM. In this particular example, it could be: npm install --save react-bootstrap-typeahead I want this…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
39
votes
3 answers

What is the difference between MSTest.TestAdapter vs MSTest.TestFramework and when do I need which one?

What is actualy the difference between MSTest.TestAdapter vs MSTest.TestFramework and when do I need which one? In the NuGet descriptions you can read: MSTest.TestAdapter The adapter to discover and execute MSTest Framework based…
t3chb0t
  • 16,340
  • 13
  • 78
  • 118
39
votes
1 answer

What is the new GlobalSection in a VS2017 15.3 solution file?

After upgrading to Visual Studio 2017 15.3.1 and ASP.NET Core 2.0, my solution file now has this at the end: GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {...a GUID...} EndGlobalSection What is this, and do I need it?
grokky
  • 8,537
  • 20
  • 62
  • 96
39
votes
2 answers

Using decimal values in DataRowAttribute

I've got a c# assembly for Tests to run in Visual Studio 2017 using MSTest.TestAdaptor 1.1.17. I want to use a DataTestMethod to run a test with several datasets. My Problem is, I want to use decimal values in my DataRows but…
Sam
  • 28,421
  • 49
  • 167
  • 247
39
votes
2 answers

How to enable CodeLens for Visual Studio 2017 Community

I recently installed Visual Studio 2017 Community and noticed that there is no CodeLens. I had CodeLens enabled on Visual Studio 2015 Community so I'm hoping that its also available for VS 2017 Community. How can I do so? Or is it no longer…
kimbaudi
  • 13,655
  • 9
  • 62
  • 74
39
votes
1 answer

Difference between Microsoft.VisualStudio.TestPlatform.TestFramework and Microsoft.VisualStudio.QualityTools.UnitTestFramework

I noticed a change in one of our solutions in VS 2015 today. It seems the test projects that are generated for the solution use a different namespace than the existing test projects in the same solution. Only the test projects that…
SwissCoder
  • 2,514
  • 4
  • 28
  • 40
39
votes
3 answers

Expression of type T cannot be handled by a pattern of type X

I have upgraded my project to target C# 7 and used Visual Studio 2017 RC to implement pattern matching across my solution. After doing this some errors were introduced relating to pattern matching with generic parameters. Consider the following…
Alex Wiese
  • 8,142
  • 6
  • 42
  • 71
39
votes
1 answer

Using Dependency Injection with .NET Core Class Library (.NET Standard)

I have gone through the link: https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/dependency-injection and learnt that how I can use dependency injection for Web API. As mentioned in the above link I can use Startup (Startup.cs) class…
38
votes
7 answers

How to download Visual Studio Community Edition 2017 (not 2019)

I installed the new Visual Studio 2019, but it is much slower (at least in my machine) than the 2017 version, and working is getting very frustrating. I want to get back but I can't find where to download the previous version. I tried using this…
cesarmart
  • 759
  • 1
  • 7
  • 10
38
votes
14 answers

How to integrate SAP Crystal Reports in Visual Studio 2017

Is it possible to use the report designer in the current release of Visual Studio 2017? The SAP crystal report wiki for visual studio integration only states: "RC build currently not supported - Tested opening existing app and it works". I have…
ˈvɔlə
  • 9,204
  • 10
  • 63
  • 89
38
votes
5 answers

Reportviewer tool missing in visual studio 2017 RC

I just started to write reporting software in new version of visual studio named visual studio 2017 RC but just noticed that core reportviewing tools is missing from both windows forms and WPF application template. Can anyone tell me why the…
Omar Sharif
  • 545
  • 1
  • 6
  • 17
38
votes
3 answers

Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015?

I have a clean windows installation with just Visual Studio 2015 installed and I'm looking to find the Microsoft.TeamFoundation.Build.Client assembly? I'm wondering if it has now been made obsolete with the upcoming vNext Build or if the namespace…
Gary Howlett
  • 1,297
  • 1
  • 14
  • 17
37
votes
10 answers

Can't push git, visual studio. Git failed with a fatal error. fatal: HttpRequestException encountered

Here is my error on visual studio. I can't figure out if there is a config to fix this. Additionally I am restricted from installing git command line tools. Error encountered while pushing to the remote repository: Git failed with a fatal…
Zaldimmar
  • 373
  • 1
  • 3
  • 7
37
votes
25 answers

Package restore failed. Rolling back package changes

When I am trying to install any nuget package in VS2017 for asp.net core. it is constantly showing "Package restore failed. Rolling back package changes" for each package.
Lalit Kamboj
  • 371
  • 1
  • 3
  • 4
37
votes
5 answers

Visual Studio 2017 15.3.0 git changes include "storage.ide" even though .vs/ in .gitignore

I upgraded VS 2017 to 15.3.0 a few days ago. Since then file "storage.ide" has remained in my modified files, even through I have used a suggested .gitignore for VS, which includes the .vs/ folder. This includes the following. # Visual Studio 2015…
Roger Layton
  • 1,573
  • 2
  • 13
  • 12