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
5
votes
1 answer

Visual Studio - X11: The DISPLAY environment variable is missing

I'm developing a cross-plataform (Windows / Linux) x64 GUI application, using Visual Studio 2019 Enterprise. In this 2019 edition we can use Visual Studio to debug both plataforms (Windows - Native) and Linux - Ubuntu (Running in a Virtual…
5
votes
2 answers

Working Around a Visual Studio Internal Compiler Error With Nested Templated Variables

I'm trying to write code that will let me index into the parameter types of a function: template R function_return(R(*)(ARGS...)); template std::tuple
5
votes
1 answer

I can't change Windows SDK Version to 10.0.17763.0 , it just resets back to 8.1 when I click apply

I'm trying to compile mpc-hc. I get many errors like cannot open include file "ctype.h" and such, and headers visual studio used were from 8.1 sdk. I deleted every sdk but the lastest one, but now I'm getting this: The Windows SDK version 8.1 was…
woopwoop399
  • 113
  • 2
  • 10
5
votes
2 answers

How to suppress initial post-build event error in Visual Studio 2017 (C#)?

I have a C# solution in Visual Studio 2017. I also have a batch script called foobar.bat that contains the following code: echo foobar : error 1: This is a test error. My goal is to get only the test error message above to appear in…
5
votes
3 answers

Adding a CSV file to a project in Visual Studio

I am working on a project where I have to read in serveral pre-existing CSV (dog.csv, horse.csv, etc.). I want to know how would I add these file into my project so that I may test to see if my print functions work (the code is written in c++).…
Jess
  • 53
  • 1
  • 1
  • 5
5
votes
1 answer

Could not copy the file "C:\pagefile.sys" because it was not found

I am consistently encountering this compile time error for a solution in Visual Studio 2017: Could not copy the file "C:\pagefile.sys" because it was not found. This began after fixing a previous warning that DotNetCompilerPlatform could not be…
Trevor Reid
  • 3,310
  • 4
  • 27
  • 46
5
votes
0 answers

TFS How to Build Visual Studio-based "Open Folder" CMake project

I have an ARM-GCC project, which is configured and built using Visual Studio's native "Open folder..." CMake project support (introduced in VS2017). All of our needed build settings are stored in CMakeSettings.json. I would like to build this…
BTownTKD
  • 7,911
  • 2
  • 31
  • 47
5
votes
2 answers

How to force cmake to use Visual Studio 2015 (v140) platform toolset?

I installed both VS2015 and VS2017. For a cmake project, I want to use cmake to generate a vs2015 project (platform toolset v140). I Opened the Developer Command Prompt for VS2015 then I ran cmake there. But from the output and also the result sln…
user10838321
5
votes
1 answer

First digit is cut off in DateTimePicker with specific font

I'm using a DateTimePicker in my Windows Forms app with a custom format: dd/MM/yyyy. The first digit is partially cut off when using the Segoe UI Light font as shown: Adding spaces/symbols to the custom format (i.e. " dd/MM/yyyy") doesn't fix the…
user10111798
5
votes
1 answer

Visual Studio ReSharper - Typescript automatic import class declared in external module - Use from instead of require

When using JetBrains ReSharper Ultimate 2018.3.4 and using the command Import 'class '' declared in external module ''' and all other types it uses require for import. This works but I would like it to use from instead like Visual Studio normally…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
5
votes
1 answer

How to install Visual Studio 2010 (v100) platform toolset on Windows 10?

I recently install Windows 10 and I have to build some applications who are using Visual Studio 2010 (v100) platform toolset. Unfortunately, on the properties page of my project, it's written the toolkit is not installed. I tried to modify my…
Pierre
  • 1,942
  • 3
  • 23
  • 43
5
votes
2 answers

How to suppress 'Found conflicts between different versions of' warning?

In a project I have the following reference layout: References +- AssemblyA 6.7.6643.0 +- AssemblyB | \- AssemblyA 7.0.0.0 \- AssemblyC \- AssemblyA 7.0.0.0 AssemblyB and AssemblyC are NuGet references for which there is no downgrade. Due to…
5
votes
1 answer

Visual Studio 2017 Enterprise, IIS 10, Windows Server 2016, Web Deploy 5 Error: "Make sure that Web Deploy is installed"

I installed IIS, Started Web Management Service, and Installed Web Platform Installer, checked the port, windows firewall is not enabled, shut down and started up, but still get the error that web deploy isn't installed when I try to publish with…
Blocks
  • 351
  • 4
  • 12
5
votes
2 answers

Generate warning on use of copy constructor and assignment

Is there a way to get a compiler (MSVC 2017 in particular here, but others may be interesting as well) to emit a warning at the locations where a particular class's copy constructor and copy-assignment operator are used (and in a way that can be…
Miral
  • 12,637
  • 4
  • 53
  • 93
5
votes
1 answer

Visual Studio: how to show a Migration Report?

When I add a project file to my solution, an error popup writes: Operation could not be completed. The project file cannot be migrated. See the migration report for details. How do I view the migration report? (I'm trying to add dependencies…
1 2 3
99
100