"Edit and Continue" option is missing on Visual Studio 2015 - c#

I don't know why, but the ENC option on my VS 2015 Community is missing:
I already made a Full Restore on VS installation, and the issue does not go away. Does someone had this kind of problem?

It looks like the Edit and Continue option has been moved in Visual Studio 2015 from where it was previously in 2013, and it's not searchable in Quick Launch or Options Search boxes.
In the options dialog, select debugging on the left. Then on the right, scroll to the very bottom and there will be the options for Edit and Continue.

Related

Error: Visual Studio 2022 "The build must be stopped before the solution can be closed." Disable Bullid option after build

I have a problem with my Visual Studio 2022 and my Solution.
When I open my Visual Studio 2022, and Build the the entire solution my visual studio disable the button to build and show a message when you try to close : "The build must be stopped before the solution can be closed.".
Before the first Build:
After first Build:
When I try to close:
I opened VS with Administrator user.
In my solution I have projects dbml, WPF, C# and WCF.
This last one the WCF projects have a problem. Because when I Build another projects the problem don't happened. But when I build the WCF projects the problem happen.
My task manager show this process:
I tried close one by one to identify the process but i did find.
Only when I force close devenv.exe and open again Visual Studio the build option enable.
Can Someone help me please?
EDIT:
This bug was fixed in version 17.2.6 of Visual Studio 2022. Please if you have this error, please update Visual Studio 2022 to the last version.
https://developercommunity.visualstudio.com/t/Build-doesnt-interrupt-after-build-erro/10038753
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#1726--visual-studio-2022-version-1726
You can use the Cancel command in the Build menu, which is the same as pressing CTRL+BREAK.
This bug was fixed in version 17.2.6 of Visual Studio 2022. Please if you have this error, update Visual Studio 2022 to the last version.
https://developercommunity.visualstudio.com/t/Build-doesnt-interrupt-after-build-erro/10038753
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#1726--visual-studio-2022-version-1726
Found this bug report in Visual Studio Developer Community Forum.
https://developercommunity.visualstudio.com/t/ASPNET-project-Web-Forms-Build-never/10041947
It says that this bug has been fixed and slated for a future release. It also points to another bug report for a workaround.
Until the fix becomes available, here is a workaround that can be used to unblock this scenario:
Install the Feature Flags extension.
From Main Menu -> Tools -> Options -> Feature Flags - check the item
"Solution.Services.UseLegacy"
Press Ok and restart Visual Studio.
Another option is to update the value
[$RootKey$\FeatureFlags\Solution\Services\UseLegacy] from
Microsoft.VisualStudio.FeatureFlags.pkgdef and run devenv
/UpdateConfiguration - as described in the discussion above.
If you can't find the Break key for the Ctrl+Break method, look for the Pause Break or Pause key. If this is accessible by the Fn key, try Ctrl+Fn+Pause/Pause Break.

I just can't get the Visual Studio for Mac debugging to work (the option is greyed out)

no idea what I'm doing wrong here. I have two macs at home, one is mine, one is a work laptop. I have VS 2022 Preview installed on both, and .net 6 on both. On my home mac, if I start a new c# Console app I'm able to just stick a break point on the (single) Console.Writeline line, hit debug, and it stops on that line as you'd expect.
On my work mac, breakpoints just turn hollow immediately, and debugging the code just runs the code instead. The "Start Debugging" option is just greyed out in the menu bar. I've tried a bunch of things but I just can't work out why this isn't working!
I had the same issue and all the other solutions I found did not work for me with VS 2022 (v17.0.6), dotnet6.
It appears it is an IDE Issue and hopefully gets fixed soon. Installing Visual Studio 2019 seems to solve it. Credit here: Visual Studio For Mac 2022 - Cannot execute "{...}.exe".
Out of curiosity, the following appears too 'reset' it back to normal.
Set a breakpoint in your code (mine was hollow when doing so)
Select 'Visual Studio' -> 'Quit'
Re-open your solution and navigate back to your breakpoint
But after selecting "Start Debugging" option, it returns back to its previous state of no debugging.
I have had the same problem.
The extension ".Net Core Debugger" was disabled and therefore I was not able to debug projects.
Go to Visual Studio -> Extensions -> Installed and check the state

Visual Studio 2019 Remove instant highlighting by clicking

I want to know how to turn OFF the occurrence highlighting with a mouse click on Visual Studio 2019. It happens as soon as I click on any word/symbol and it is honestly getting on my nerves. The only thread of this case here on StackOverFlow was unanswered. Visual Studio 2019 how to disable occurrence highlighting?
Can anyone please help me get rid of this issue? It was working just fine before and I don't know what key binding I accidentally clicked/touched. I would be thankful.
Thank you very much.
Tools 🡆 Options 🡆 Text Editor 🡆 C# 🡆 Advanced 🡆 Highlighting

Visual Studio will not debug any of my projects

I'm using Visual Studio 2015 and the same problem is also occurring with Visual Studio 2010. Basically, when I press F5, Visual studio attempts to run and debug the project, it then plays the "Exclamation" sound like one from a message box; and then it stops debugging the project. Nothing is said in my output window, it's as if nothing happened. I've looked everywhere on the internet but I haven't found anything!
Any help would be appreciated, thanks!
It sounds like you might have a corrupt install. I would suggest trying to repair the installation.

Visual Studio 2012 Ultimate IntelliSense doesn't work well when code has error

I use visual studio 2012 update 1. When I compiled my code I have an error and on this error IntelliSense doesn't work any way. I used CTRL+SPACE but nothing shown. I thought I should use it from menu but either nothing shown again.
What's a problem? Is it about visual studio? How can I fix it?
Tools -> Options-> Text Editor-> C# or All Languages -> General and then check/enable Auto List Members and Parameter Information
If that isn't work Delete the files under the this folder:
%AppData%\Roaming\Microsoft\VisualStudio\11.0\ReflectedSchemas
If that isn't work also, I thins you have no chioce. Start to think reset your settings following first TOOLS -> Settings -> Import and Export Settings for saving old settings.
Check out also;
Intellisense and code suggestion not working in Visual Studio 2012 Ultimate RC
This is what fixed it for me:
Tools->Import and Export settings->Reset all settings.
You could try to reset your IDE Settings.
I can confirm that it seems not be a bug in Visual Studio 2012. Mine works as expected.

Categories