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
58
votes
9 answers

Cannot load a reference assembly for execution

All of a sudden my website is not loading and giving me below error. I am running VS2017 with .Net Framework 4.7.1 on Windows 10 Home. [BadImageFormatException: Cannot load a reference assembly for execution.] [BadImageFormatException: Could not…
Krunal
  • 1,138
  • 1
  • 9
  • 28
58
votes
2 answers

What is the "storage.ide" file beneath my Visual Studio solution folder, and what is "persistent storage"?

I just installed Visual Studio 2017 15.3 preview, and now I'm noticing a new file beneath an existing solution that I've been working on: .vs\[SOLUTION NAME]\v15\sqlite3\storage.ide I'm wondering if I should be adding this to my version control…
rory.ap
  • 34,009
  • 10
  • 83
  • 174
58
votes
3 answers

How can I enable all features of C# 7 in Visual Studio 2017 project?

After Visual Studio 2017 was released I wanted to try to create simple console project with new C# 7 features. I expected that I simply download new Visual Studio 2017, then create new console project and can use new C# 7 features. But I can't. I…
chromigo
  • 1,134
  • 1
  • 15
  • 25
57
votes
2 answers

Create Setup/MSI installer in Visual Studio 2017

I have written an outlook add-in VSTO in Visual Studio Pro 2017 (VB.NET). I have published it which creates a setup.exe which is OK but I would like to create a proper installer that copies the files locally and can be run silently etc. How do I go…
Ed Mozley
  • 3,299
  • 4
  • 15
  • 20
56
votes
10 answers

Visual Studio 2017 Enable SSL

How do you enable SSL for a project in Visual Studio 2017? In VS15, I could select Project -> Properties -> Debug -> Enable SSL. This option is not available in VS2017. Where has it moved to? Edit: I've even tried editing…
Ashley Bye
  • 1,752
  • 2
  • 23
  • 40
55
votes
5 answers

VCVARSALL.BAT for Visual studio 2017

What is the location of file: VCVARSALL.BAT for Visual studio 2017?
Starnuto di topo
  • 3,215
  • 5
  • 32
  • 66
54
votes
18 answers

Cannot debug in visual studio 2017

I cannot start the debugger in Visual Studio 2017. I get this error "Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:1904)" I went to submit an incident to…
M. T.
  • 579
  • 1
  • 4
  • 3
54
votes
5 answers

web.config missing when creating ASP.NET Core Web App in VS 2017 RC?

I've noted that when creating a new ASP.NET Core Web App in Visual Studio 2017 RC, a web.config file is not created. My understanding was that this file contains important code to facilitate IIS integration, something that I am interested in, as I…
toolshed
  • 1,919
  • 9
  • 38
  • 50
54
votes
3 answers

Inline variable declaration not compiling

I've been getting a message in Visual Studio 2017, specifically, IDE0018 Variable declaration can be inlined. So I try using an inline variable declaration the way it's mentioned in the visual studio 2017 release notes, but I can't get my project to…
prudan
  • 1,081
  • 1
  • 8
  • 11
52
votes
2 answers

VS2017: E0135 namespace "std" has no member "filesystem"

In order to use: std::filesystem from the C++17 library, my project was migrated from vs2015 to vs2017. My project compiles and runs without error, the lib is included without error, but when trying to use std::filesystem I get the following: It…
LearnMore
  • 695
  • 1
  • 5
  • 12
52
votes
4 answers

ESLint support Visual studio 2017

ESlint static intellisense doesn't seem to be supported in Visual Studio 2017 which makes coding in .js files a complete pain as I have to run the CMD eslint command to get any linting errors. In VSCode I can just use the ESLint extension. What…
52
votes
5 answers

Does Visual Studio 2017 work with Code Contracts?

I just installed the newly released Visual Studio 2017 Enterprise (RC). I'm having trouble getting it to work with Code Contracts, however. I have no problem using Code Contracts with Visual Studio 2015. Am I missing something?
user2106007
  • 697
  • 1
  • 7
  • 11
51
votes
7 answers

How to Import project code from local machine to Azure Repos?

I have existing code on local PC in Visual Studio that I want to Import to the Azure Repos project. I have already created the Project in Azure DevOps. I have used Team Explorer in VS 2017 to Connect to my DevOps project. I don't know how to do the…
Don Baechtel
  • 627
  • 1
  • 6
  • 9
51
votes
2 answers

What's purpose of element in csproj file

When I edit Web application project, Visual Studio 2017 (15.3.1) adds element under Project/PropertyGroup in csproj file. I can't find any documentation, what is the purpose and if it affects something, when presented (as it…
Ondrej
  • 1,209
  • 1
  • 11
  • 21
51
votes
3 answers

Getting "Tuple element name is inferred. Please use language version 7.1 or greater to access an element by its inferred name."

We have the following code that has been working fine in our UWP app until today after we updated Visual Studio 2017 to the latest 15.3. private void Test() { var groups = new List<(Guid key, IList<(string, bool)> items)>(); var items = new…
Jessica
  • 2,057
  • 1
  • 15
  • 24