Questions tagged [visual-studio-2017]

For questions specific to Microsoft Visual Studio 2017. Questions about Visual Studio cloud collaboration tools (Team Services, previously Visual Studio Online), may be a better fit on http://webapps.stackexchange.com/. Use [tag:visual-studio] instead for questions involving Visual Studio in general.

Filter by
Sorted by
Tagged with
0 votes
2 answers
11 views

Using VS Find & Replace Regex across lines

I have multiple instances of code that looks like... if (condition) { statements } else if (different condition) { statements } ad nauseum (probably, honestly about 100+ different times, and ...
0 votes
0 answers
34 views

Visual Studio (2015, 2017) Compiler Error when run in standard user context

Hoping for some assistance with regards to Visual Studio whereby my knowledge is limited and assisting to support someone else. When compiler is run using Visual Studio 2015 Express (and 2017) in ...
0 votes
2 answers
6k views

Missing preferences on Visual Studio

My preferences page in Visual Studio is missing. It is meant to be under file but it just isn't there. I have been trying to change my code theme but ran into the issue of not being able to find the ...
27 votes
4 answers
31k views

Unable to start Kestrel getting 'An attempt was made to access a socket in a way forbidden by its access permissions'

While running my Kestrel application from Visual Studio 2017 (Windows 10), I'm getting this line in my command prompt: "Unable to bind to http://localhost:50067 on the IPv4 loopback interface: 'An ...
2 votes
3 answers
110k views

Application crash due to ucrtbase.dll

We are currently making upgrades to our application. Win7->Win10, VS2012->VS2017. The solutions have a fairly high complexity but everything has gone well except one single project(process). The ...
102 votes
1 answer
65k views

How to open .dbml in designer mode with VS?

After installing Visual Studio 2017, my LINQ To SQL .dbml definitions open in a XML editor instead of the built in designer. How do I configure VS to open .dbml in Designer mode instead of XML ...
2 votes
1 answer
7k views

How to debug a project that references DLLs in Visual Studio 2017

I am running a project in VS17. I have both managed and unmanaged code. My c# code references and calls a function from a DLL written in c++. I would like to be able to use the debugger to step ...
0 votes
2 answers
560 views

VS2017 not downloading headers from WSL

I'm trying to remote build a C++ helloworld in VisualStudio2017 on WSL Ubuntu. I followed the instructions as outlined by Goodner on MSDN here: https://blogs.msdn.microsoft.com/vcblog/2016/03/30/...
2 votes
2 answers
3k views

How to download full Visual Studio 2017 Community with command line enabled?

I would like to download VS 2017 with command line enabled in installer because I am afraid MS will soon pull the plug out and I will be left with scenario "upgrade computer, buy new smartphone, etc". ...
2 votes
2 answers
4k views

How do I get a solarized color theme in Microsoft Visual Studio?

I'm used to using my IDE with the Solarized Dark color theme. I recently switched to Microsoft Visual Studio 2017 and want to continue using that color theme. When I search for solarized in the ...
13 votes
2 answers
8k views

How to disable TestResults folder in Visual Studio?

Visual Studio is generating a lot of empty folders in the TestResults subfolder of C# projects. Is there a way to disable it? I often delete more then 5k of them. Deploy_UserName 2017-10-31 18_13_17\ ...
4 votes
1 answer
4k views

Install specific version of Visual Studio 2017

I have trouble installing a specific version of Visual Studio 2017. Microsoft released the new Update 3 (Version 15.3.1) and they only provide an online installer. This one installs the most recent ...
0 votes
0 answers
1k views

Run Visual Studio as Admin using batch script with \runas

Executables can be run as admin using a batch script with a command like runas /savecred /user:admin "C:\WINDOWS\system32\cmd.exe" when being logged in as a non-admin user. Why is this not ...
1 vote
1 answer
1k views

Getting the error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

I'm using Visual Studio 2017 Enterprise edition, MS Excel 2016 (64 Bit) I am gettin this error while I'm trying to read the data from Excel into a dataset. I checked the solution and I installed the ...
0 votes
0 answers
914 views

I have Microsoft Visual Studio installed , but still I can not install line_profiler in python. What should i do?

CMD is showing me this, while I am trying to install line_profiler: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\system32>pip ...
1 vote
0 answers
770 views

Exception when cloning Azure.Devops Repository

I can clone repositories from my work's repo fine. I switched DevOps and VisualStudio to my personal Microsoft account to do some DevOps tutorials. Whenever I attempt to clone I get the following ...
0 votes
1 answer
2k views

How to use Teamviewer 14 to perform remote debugging using Visual Studio in Window

I am developing Windows C++/C# application running on Windows 7 and 10. I am using Teamviewer 14 (Coporate license) to access to Customer's PC in other part of the world to perform troubleshooting. ...
14 votes
6 answers
23k views

Visual Studio on 4k monitor

I just upgraded to a 4k monitor, and supposedly Visual Studio should be able to handle a high dpi monitor just fine. But it's not working for me and I'm not sure why. I have this same problem in ...
2 votes
1 answer
2k views

Changes made in Feature file is not reflected in Feature.cs file

I have few Feature files whenever I make any changes in feature file and try to run, the changes are not reflected in run. When I checked this, I found out that Feature.cs file is not updated with ...
1 vote
1 answer
477 views

How do I get default theme, font and UI of Visual Studio Code in Visual Studio 17?

I understand Visual Studio is an IDE and Visual Studio Code is an "editor" but writing code in Visual Studio Code is damn faster and easier. I just love the UI. I feel there might be an extension in ...
5 votes
2 answers
10k views

How to make Visual Studio IntelliSense to not automatically complete a word, do this only by TAB key?

Sometimes IntelliSense behavior is very annoying. For example, typing in c# editor "Random[SPACE]" resulted "Random3DDataGenerator" in my code when the is no "using System;" in the code. I had to ...
2 votes
0 answers
2k views

Visual Studio 2017 installer does nothing after extracting files

Any time I run the installer for Microsoft Visual Studio Community 2017, it shows a brief "Extracting Files" screen, then silently closes without any error message. Looking at task manager, when ...
1 vote
2 answers
4k views

Why does Visual Studio have display lag?

I have the following problem on my MBP Pro mid 2015 16Gb RAM running Windows 10 with the latest BootCamp drivers, in Visual Studio 2015 and 2017 Community Edition. Almost every time I alter my code ...
0 votes
1 answer
1k views

slow lagging and not responding windows 10 and visual studio

I am having a serious problem with my OS which is lagging and not responding I can't give it more than some tasks a time and lags all of a sudden I'm using only the browser most of the times what's ...
1 vote
1 answer
2k views

Xamarin iOS Simulator Black Screen After Xcode 11 Update

I am using a Windows PC and Xamarin, Visual Studio 15.9.16, and have recently updated Xcode to version 11 on my Mac. After the Xcode update, my Xamarin.Forms app never loads and the iOS Simulator ...
76 votes
6 answers
42k views

How to remove directory context menu added by Visual Studio 2017?

I have installed Visual Studio Community 2017 RC on Windows 10. After installing, it added a new context menu when right clicked on any directory. I want to remove this option, but can't seem to ...
1 vote
0 answers
294 views

My Visual Studio 2017 debug start button showing disabled

How can this be fixed? Program is unusable for me without this feature
3 votes
1 answer
1k views

Visual studio showing wrong syntax highlighting color when loading multiple instances at the same time

I have DARK mode enabled on my visual studio IDE and on windows 10 configurations. To reproduce the "bug" I : open multiple instances (4) of visual studio as admin. (If prompted to ask permission, I ...
0 votes
0 answers
850 views

Inform Visual Studio to ignore folder in a project directory

I'm trying to create a VS project/solution from a folder containing python files, a data folder. The data folder is very large and contains a lot of files (Gigs of gray scale images). I've had ...
5 votes
1 answer
977 views

How to backup Visual Studio 2015/2017 layout?

How do I backup window layouts in Visual Studio 2015/2017? Exporting settings does not export all layouts (just current one). I know there is a directory under AppData/Roaming/Microsoft/VisualStudio ...
3 votes
1 answer
12k views

Install Windows 10 SDK 10.0.18362 on Visual Studio Community 2017

i'm currently trying to install Windows SDK 10.0.18362 on Visual Studio Community 2017. I first tried to simply use the visual installer but i can't see the 10.0.18362 Version the newest i have is ...
3 votes
1 answer
4k views

Visual Studio 2017/2019 Installation finished with errors - Couldn't install Microsoft.VisualC.Redist.12

I have just upgraded from Windows 7 to Windows 10 and I tried installing Visual Studio 2017 professional on my pc and I get the following error: Couldn't install Microsoft.VisualC.Redist.12 I have ...
0 votes
0 answers
537 views

Visual Studio 2017 does not prompt to save changed files before rebuild

This is pretty trivial but very annoying. I upgraded a solution from VS 2010 to VS 2017. In VS 2010 if I modified a file in the Source Code Editor and then clicked Build, it would prompt me with: ...
1 vote
0 answers
244 views

VisualStudio2017-Qt5.12.3 - cannot add msvc2017_64

I want to build a Qt GUI app using VS2017, so I installed VS2017 and Qt5.12.3. And also the VS-Qt add-in. But when I setup this, I can't add msvc2017_64 into it. When I click "Add", there is an ...
1 vote
1 answer
5k views

Standard C# templates not showing when adding new class to project in Visual Studio 2017

I have a C# project in Visual Studio 2017 and am trying to add a new class with a standard template, however there are no C# templates in the “Add New Item” dialogue box that opens. There are only VB ...
1 vote
0 answers
27 views

Change title of Android app created using Visual Studio 2017

I named my project (a Xamarin Forms project) something other than what want now. I've searched this and other boards for an answer, and tried changing the name in many places. But when I run the ...
2 votes
1 answer
358 views

Cannot install ReSharper Ultimate Extensions (Exceptional) in Visual Studio 2019 and 2017

I have installed ReSharper Ultimate (version 2019.2) via Jetbrains for Visual Studio 2017 and 2019 (tried it on different machines with different VS installations). I want to install the Exceptional ...
0 votes
1 answer
698 views

Visual Studio (SSDT) SSIS create new project issue

When I open Visual Studio SSDT click on new project for Integration Services Project then I get the following error.. Cannot load the component 'Microsoft.AnalysisServices.Database'. Make sure that ...
1 vote
0 answers
300 views

Visual Studio C# Web API Shutting Down Immediately After Starting

Recently we upgraded our Citrix desktops from 2012 to 2016. In the process of re-installing my applications I decided to install Visual Studio 2019 instead of sticking with 2017. I am currently ...
1 vote
1 answer
2k views

Visual Studio 2017, The operation could not be completed. Unspecified error

A new Visual Studio (version 2017) issue started recently that prevents me from opening ANY files using the File -> Open -> File menu item (or its shortcut Ctrl + O). Error message from Visual ...
6 votes
2 answers
3k views

Visual Studio crashes when opening project

Full disclosure, I'm answering this question myself because I looked for the answer for 4 hours and couldn't find it, and eventually figured it out myself. So hopefully if someone else has this issue, ...
0 votes
1 answer
378 views

How do I check out specific version of a project on visual studio devops using git?

I have a project in Visual Studio Devops that I have checked code into on a daily basis for many months. I need a specific version of the project from a stable cutoff date but don't know how to check ...
0 votes
1 answer
231 views

Visual Studio 2017 Outputting in Hex

I'm just messing around in VS Community 2017 and whenever I debug, the answer is output as below. This happens in two different programs I've debugged. ex. Output is 00F911D1 rather than expected ...
1 vote
0 answers
441 views

Visual Studio 2017/2019 Drivers Development

In order to develop drivers (both kernel-mode drivers and user-mode drivers) we need to have in Visual Studio the WDK to be installed. I followed this article form MSDN: https://docs.microsoft.com/en-...
0 votes
1 answer
1k views

GitLab CI with Visual Studio 2017 Devenv and power shell

I'm working on an automated build with GitLab CI. The Runner is on Windows Server 2012, and configured to use "shell". The project I need to build uses Microsoft Visual Studio development environment ...
0 votes
1 answer
597 views

Trouble Download Visual Studio 2017 Community

Whenever I click on the .exe file, bootstrapper comes up, loads for a couple of seconds, and disappears. I have tried running install cleanup and making sure that Windows is up-to-date. I have ...
0 votes
1 answer
738 views

Pip, Python, and Visual Studio

I am receiving a similar error message such as here: https://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command However, my scripts are located here: C:\...
0 votes
1 answer
188 views

Visual Studio 2017&2019 > User Control + Started Timer = Crash :|

When I add a Timer to User Control with Visual Studio 2017 Or 2019 and Start() it the Visual studio Crash when add the User Control contains a Working Timer to a Form.
2 votes
1 answer
260 views

Visual Studio got corrupted on Mac

After Visual Studio crashed, it started to behave unexpectedly and keeps crashing even more. When run, it's showing some weird characters as shown below: and it is also missing some extensions which ...
0 votes
1 answer
2k views

Visual Studio 2017 installation fails

I am trying to install Visual Studio 2017 Community Edition on a Windows 10 machine which was recently reformatted. There's hardly anything installed but it is up-to-date in terms of Windows Updates. ...