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.

Questions with this tag should refer specifically to Visual Studio 2017. Anything related in general to any (non-version specific) feature within Visual Studio should be tagged with .

Visual Studio 2017 is Version 15.0 of Microsoft's integrated development environment (IDE) and was released on March 7, 2017.

146 questions
103
votes
1 answer

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 editor?
Drag and Drop
  • 1,247
  • 3
  • 9
  • 12
79
votes
6 answers

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 find it from VS2017 settings.
29
votes
4 answers

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 attempt was made to access a socket in a way…
15
votes
6 answers

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 Visual Studio 2015 and 2017. In the screenshot below…
13
votes
2 answers

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\ Deploy_UserName 2017-10-31…
t3chb0t
  • 681
8
votes
2 answers

Stop Visual Studio text editor from auto moving comment lines

Is there a way to stop Visual Studio text editor (2015 or 2017) from auto moving the comment lines when pressing Ctrl+K,D or relevant key stroke (Ctrl+E,D - format entire document) ? I would like my comments to stay at the position placed,…
7
votes
1 answer

Uninstall previous version of Visual Studio after installing VS 2017

I have installed Visual Studio 2017 side by side with of 2013 and 2015 (I didn't want to take risk if 2017 setup had failed). I already had VS 2013 and 2015 on my machine. I don't need the older versions now and I really need to free up the space…
6
votes
2 answers

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, this can help them. When Visual Studio opens a…
6
votes
2 answers

Jump from Text Editor to Class View in VS2017

I would really love Visual Studio (2017) to open a specific class in Class View, given the selection in the Text Editor. Is that possible?
DarioMangoni
  • 163
  • 7
5
votes
2 answers

How to auto save work on visual studio 2017?

There are some extensions for auto saving work on other versions of VS but couldn't find anything for VS2017.
5
votes
2 answers

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 press [CTRL]+[Z] to return back the "Random" word.…
5
votes
1 answer

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 called WindowLayouts but that again stores only…
UfoXp
  • 211
4
votes
0 answers

Visual Studio 2017 no longer lets me triple click

I've used VS for over a year and I've always been able to triple click to select an entire line. Recently, something got screwed up and it no longer selects the line. It's driving me absolutely insane, because VS should have this…
4
votes
4 answers

Visual Studio 2017, F7 not working

I still have F7 as my global View code key, but it doesn't work. My F7 key on keyboard is not broken (because I can use F7 in other app) How can I detect what happened with my F7 key in Visual Studio?
Luke
  • 1,490
4
votes
0 answers

IIS Express: How to accept connections from the local network?

I am using Visual Studio 2107 + IIS Express. I need to test a Xamarin app connecting to my ASP Net Core WebAPI. How to configure the ASP Net project + IIS Express to accept connections * from the network, not only localhost ?
Tony
  • 797
1
2 3
9 10