We have a significant code base that has been built solely on VS2013 and are now considering moving over to 2017.
However after building our functioning code base (which works fine) in 2017, symbols are no longer being loaded for debugging purposes. This means that breakpoints aren't being hit in the code when we debug it.
Has someone else happened across this issue?
I had similar issue and I did the following:
Debug=>Options=>General => Remove the check mark for "Enable Just My Code"
This worked for me.
Related
I have a blazor webassembly app that is working fine and it is split in webassembly talking to a web api version all .Net Code
I use VS community Edition 2019 and suddenly after many modifications to my code I noticed that I am not able to debug and see any variable content(unable to Evaluate) at any break points anywhere in my web assembly app. I tried with an old version of my code which I know it was working then and same issue, so it is not the code.
I tried upgrading VS to 16.11.75.64347 ( from 16.6 something) without success and even uninstall & reinstall VS with no success.
The only new thing on my station was a windows update this week.
Is someone had something similar happening this week?
ps: What is weird is that I do not not have this problem in my web API solution portion just the webassembly solution.
I think I've been badluck to find many not working thread but finally it was simply to close VS . delete the .vs directory tehn relod the solution and it was OK. It is weird though that many old version of my code that never had this issue had the same problem. It was impossible to have all those .vs not working although I had not touched them in weeks. Anyway it is now working.
Visual Studio 2019 Community 16.8.4 crashes when drag and drop Document Tab.
I have re-installed VS 2019 Community and it does not fix the problem. I have been using 2019 Community for a year now with no problem. Not sure if it is related to 16.8.4 or not.
Has anyone else had this problem? If so have you figured out how to fix it?
[Workaround]
Edit %InstallRoot%\Common7\IDE\devenv.exe.config and %LocalAppData%\Microsoft\VisualStudio\16.0_xxx\devenv.exe.config and append the following text to the AppContextSwitchOverrides element’s value attribute:
;Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true;Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true
After restarting VS, you should be able to drag your VS windows around without crashing.
https://developercommunity2.visualstudio.com/t/Unexpected-VS-crash-when-docking-or-spli/1323017#T-N1330689
Indeed fixed in 16.8.5 as specified here: https://developercommunity2.visualstudio.com/t/Unexpected-VS-crash-when-docking-or-spli/1323017
It's just started doing it today, been fine on this version up to this point. It only seems to be the docking so I have Visual Studio on the left hand side of the screen then I'm floating editor windows on the right. Seems to be OK like that.
I have VS2015 and the updates that are supposedly causing the crash weren't installed. Instead I got KB5001028 and KB4601056 installed on the 15th and docking any windows in Visual Studio crashed immediately. Removing those updates fixed the crashing partially. Now I'll get random crashes when docking and immediately switching windows, but not always.
Updating visual studio 2017 to its latest minor version, fixed issue for me.
For those who can't find a solution shall try this.
For me, none of the solutions worked. I've updated to latest version and even tried all windows updates recommended.
Finally I figured it out that it was due to eXtra Buttons application. Once the eXtra Buttons is closed, everything was back to normal. Please share if this fix works.
I have quite an odd issue in VS 2015 CE. I'm working on a ASP MVC site and when I I try to access Model properties using Razor in view inside a method a visual studio immediately closes the intellisense window which shows the available properties.
Works perfectly:
#Model.Shared.UserName
Doesn't work
#Html.Raw(Model.Shared.UserName)
When I'm typing the "Model." inside a method, Visual studio keeps closing up the suggestion window. This is becoming really annoying. Has anyone experienced something similar?
The window I'm referring to:
A workaround that I've managed to satisfy myself with after half a year is to use ReSharper which amazingly fixed this issue as well. It's not exactly solution to why the Visual studio is acting this way, but there is probably little left to do.
Currently I'm playing a little bit with MVC application. But there is one thing that is very annoying. When I change something in my code (controller, view or whatever) the changes sometimes does not refresh. I see the old content. And there is more. Sometimes browser says "Waiting for localhost..." and it's waiting forever. When this happens the only thing that helps is to stop IIS and restart Visual Studio. What seems to be the problem? How can I make this work and see my changes every time I build and refresh the page? (Ctrl+F5 does not work)
I'm using Visual Studio 2015, IIS Express and Firefox (but this also happens on IE).
Updating visual studio 2015 helped.
We develop using VS2008 solution that have about 26 project that's added to Team System Source control.
The problem is: sometime when developer try to debug a project, VS check out all projects before debugging, we don't know Why this happen especially if we close all vs and try again the problem not appear ... Is any know how to solve this issue ?
That's how it is. I hate it too. The best you could do is configure Visual Studio to ask every time before it checks out a file so that the developer is being warned of what is happening behind the scenes: