Skip to main content

All Questions

155 votes
2 answers
81k views

How to use C# 7 with Visual Studio 2015?

Visual Studio 2017 (15.x) supports C# 7, but what about Visual Studio 2015 (14.x)? How can I use C# 7 with it?
Luis Teijon's user avatar
  • 4,879
25 votes
12 answers
23k views

Project builds but can't publish

I have an MVC project that for an uknown reason refuses to publish to a local folder in the PC. The log says the following: 3>------ Publish started: Project: Admin, Configuration: Release Any ...
Hrodger's user avatar
  • 1,278
181 votes
24 answers
94k views

Breakpoint Failed to Bind - Visual Studio 2015

I just upgraded from Visual Studio 2013 to 2015 and now I am having trouble with breakpoints. It's a hit or a miss where break points will actually work and if I set one while debugging I get the ...
Sealer_05's user avatar
  • 5,546
146 votes
8 answers
67k views

How to use C# 6 with Web Site project type?

Updated an existing Web Site project type Visual Studio 2015, I changed the Framework to 4.6. I then expected to have all those new features available in my code behind files. Unfortunately I'm ...
Uwe Keim's user avatar
  • 40.6k
65 votes
31 answers
173k views

Go To Definition: "Cannot navigate to the symbol under the caret."

I suddenly started experiencing a problem today in my project where clicking Go To Definition gives me a strange error: "Cannot navigate to the symbol under the caret." I first noticed it some time ...
Jeff's user avatar
  • 7,624
70 votes
14 answers
68k views

Application Can't Load. Visual C# 2015 RC Compiler Could Not Be Created

I am trying to install Visual Studito 2015 RC Community edition. I downloaded the web installer and installed all components. After installation, I rebooted my machine as instructed, but it keeps ...
Gogol's user avatar
  • 3,052
64 votes
8 answers
32k views

Visual Studio 2015 diagnostics tool does not support current debugging configuration

After using VS2015 snapshot and profiling tools, I can't seem to get the diagnostics tools to work again. Every project, even new ones just say the following The Diagnostic Tools window does not ...
garyamorris's user avatar
  • 2,617
245 votes
1 answer
80k views

How to disable Diagnostic Tools?

When debugging a C# application in Visual Studio 2015, Diagnostic Tools starts automatically. I unchecked both checkboxes in Select Tools, but it doesn't seem to completely disable it. How do I turn ...
ispiro's user avatar
  • 27.6k
137 votes
6 answers
28k views

How do I disable C# 6 Support in Visual Studio 2015?

Background We have a project that we're developing in VS 2015 with C#6 enabled that occasionally needs to be opened by developers using VS 2013 without C#6. We have no intention to use C# 6 within ...
SeanKilleen's user avatar
  • 8,947
38 votes
3 answers
22k views

Web.config is not transformed when debugging code

I have a main Web.config file, and under that there is a Web.Test.config, Web.Development.Config etc. When I preview the transformation via SlowCheetah on the Test config, it appears to transform the ...
mameesh's user avatar
  • 3,761
27 votes
3 answers
21k views

How to switch between target frameworks for .NET Core projects in Visual Studio

Say you have a .NET Core project that looks like this: "frameworks": { "net40": {}, "dotnet5.1": {} } And this is your C# code: public class Foo { public static void Blah() { #if ...
James Ko's user avatar
  • 34.3k
5 votes
1 answer
1k views

What's the latest version of Roslyn my analyzer can target if I support VS2015?

I'm writing a Roslyn diagnostic analyzer that should work on VS2015 and later editions. I want to know the latest version of Microsoft.CodeAnalysis I can use with my project and still support VS2015. ...
James Ko's user avatar
  • 34.3k
93 votes
7 answers
56k views

Disable "Break Mode" page in VS2015

Recently migrated from VS2010 to 2015. Now when I pause a running app to work on it, I get this very annoying "Break Mode" page with "The application is in break mode". Well, no shoot Sherlock, I ...
Wolfie's user avatar
  • 1,809
14 votes
2 answers
20k views

Why Visual Studio 2015 freezes crashes hangs on Designer view?

Everytime I go to the designer Visual Studio freezes(Not Responding) for 30+ seconds and once I click on any element/widget after that, it freezes again for 30+. Does that for 5 times maybe then I ...
Khalil Khalaf's user avatar
7 votes
1 answer
6k views

Compiling C# with Any CPU sets Application can handle large (>2GB) addresses

I ran into this issue during performance testing. When compiling a C# Console application with the x86 platform flag, the Large Address Aware flag is not set: Output from dumpbin /headers app.exe: ...
Chris Weber's user avatar
  • 5,815

15 30 50 per page
1
2 3 4 5
8