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

vsvars32.bat in Visual Studio 2017

As the Visual Studio installer is new from Visual Studio 2017 version, I cannot located the Visual C++ component, explained here. How do I proceed to get the vsvars32.bat in VS2017?
Tobias Moe Thorstensen
  • 8,861
  • 16
  • 75
  • 143
45
votes
5 answers

Build Failure. Error: 'path' cannot be an empty string ("") or start with the null character

I have a solution that builds fine in VS2015. I just installed VS2017 RTM and after conversion, attempts to build the solution fail immediately with the error: Build Failure. Error: 'path' cannot be an empty string ("") or start with the null…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
45
votes
2 answers

Is Visual Studio 2017 backwards compatible with Visual Studio 2015 solutions?

I'm thinking about installing VS 2017 and using it for work. The free download is here. So is Visual Studio 2017 RC backwards compatible with Visual Studio 2015 solutions? The release notes mention it here. Just wondering if someone did this and if…
toddmo
  • 20,682
  • 14
  • 97
  • 107
45
votes
1 answer

Visual Studio Code CSS error "Do not use empty rulesets"

I have been using Visual Studio Code for HTML and CSS. I get an error that does not impair the website, but I would like to know more about it. When I hover over the styling for an ID in HTML, a box pops up and says. "Do not use empty rulesets".…
Wyredain
  • 481
  • 1
  • 4
  • 7
44
votes
3 answers

How to change C# Language Version for all of the projects in my solution in one place?

I have a solution with 20 projects, I want to change the C# version for all of them to C# 7.3 Is there a way that I could change all project's version at one go? I know I can change the Language Version from Project's Properties, but I don't want to…
Hooman Bahreini
  • 14,480
  • 11
  • 70
  • 137
44
votes
6 answers

Could not load file or assembly System.Runtime, Version=4.1.2.0

Suddenly, after adding some NuGet packages (mostly, related to ASPNET Identity), it started showing this error: FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.1.2.0, Culture=neutral,…
44
votes
3 answers

Visual Studio 2017 - What happened to Expression interactions?

I make extensive use of Expression interactions' CallMethodAction to handle events from XAML in a MVVM-friendly way. I have just created a new WPF project in VS2017 and now I see the old Expression namespace is gone. I found this page on MSDN which…
amnesia
  • 1,956
  • 2
  • 18
  • 36
44
votes
5 answers

Where does Visual Studio 2017 store its config?

In VS 2015 and earlier, settings were stored in the registry, e.g. HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config. In VS 2017, to support multiple instances of VS, the settings were moved out of the registry, according to this post. I…
Geir Sagberg
  • 9,632
  • 8
  • 45
  • 60
43
votes
5 answers

Visual studio 2017 with bitbucket, terminal prompts disabled

The visual studio stopped sending my commits to the bitbucket and this error appears Error encountered while cloning the remote repository: Git failed with a fatal error. HttpRequestException encountered. There was an error submitting the…
43
votes
3 answers

Moving away from Bower (discontinued) to use Yarn/Npm instead (.Net Core MVC) VS2017

I started working on a .Net Core application around 1 year ago. I used .Net Core to set up my project in visual studio and used Bower to manage my client side packages. It seems bower is being maintained/discontinued and the "people in charge"…
Zeliax
  • 4,987
  • 10
  • 51
  • 79
43
votes
2 answers

.NET Core RuntimeIdentifier vs TargetFramework

Can someone explain the purpose of these two in the csproj file (VS2017): netstandard1.6 win7 I just migrated from VS2015 and now can't publish my web api because it looks I…
43
votes
3 answers

How do I add features to Visual Studio 2017?

Let's say that when I installed Visual Studio 2017 I decided to use the "Windows Universal Platform" packages. Later, I realize that I'd like to install the ".Net Desktop packages" (either instead, or in addition). How can I go back and add those…
MikeTheTall
  • 3,214
  • 4
  • 31
  • 40
43
votes
4 answers

Visual Studio : can't find "resource file" in list of items to add to project

I'm on VS Community 2017 RC. I'd like to add a resource file (.resx) to my project but this item type is not listed in the items Have I missed something ? Do I need to install anything on top of my Visual Studio to be able to manage resource files ?
bob
  • 774
  • 1
  • 7
  • 16
43
votes
6 answers

How to edit (customize) Color Themes in VS2017 Preview

has anyone figures out, how to change the color theme in VS2017. I used a custom Theme in 2012 and later in 2013. I imported it with the Extension. But I was also able to Import the theme via registry to the Express Versions, where the Extension…
Martini Bianco
  • 1,484
  • 1
  • 13
  • 23
42
votes
3 answers

Use .NET Core with legacy .NET framework dlls

Can I use .NET Core with legacy .NET Framework dlls? The answer seems to be no... but I can only find resources referring to project.json, which doesn't exist anymore. I created a new .NET core library and tried to reference a legacy .NET framework…
Hoppe
  • 6,508
  • 17
  • 60
  • 114