I have a simple MVC4 solution that works just fine until I set a breakpoint in the controller. If I do that, the breakpoint does not hit, and I get a pop-up window titled, "Source Not Available" that goes on to say "Code not running", then "The current thread is not currently running code or the call stack could not be obtained."
The application will run as long as I do not want to debug. Any clues?
Full disclosure: I work at Telerik.
Thanks for the report and I'm sorry for the caused inconvenience. Actually there is an easier workaround. You can just disable the JustMock profiler from its Visual Studio extension menu: http://screencast.com/t/mPALFVJnuXm. Then you don't need to uninstall it. And when you run your unit tests which include mocked tests, just enable JustMock from the same menu again.
This is a known issue which we've already fixed. The fix will be publicly available in our Service Pack which is scheduled to be released next week. Please update your JM installation once the SP is live.
If you are using Telerik JustMock as a mocking framework and have recently updated it to the 2013 Q3 version, it causes this exact problem. I was able to resolve this issue by uninstalling the mocking framework and installing the 2013 Q2 version.
Related
I have a react project which I need to unload from my solution because I build it separately.
Every time I try to unload that project, my VS 2022 goes into a hung state.
Has anyone experienced the same?
Yes, I was experiencing this same thing until just now with VS 2022 Community v17.2.6.
I was trying to unload a GraphQL since I don't really care about that project, it's only on the same folder/repo.
I went into Tools -> Get Tools and Features... and uninstalled Node.js development. That did the trick, although I guess it might be because now it doesn't load the project to start with, it shows as "incompatible". Luckily I don't do any Node.js development in VS.
If yours is a Node.js project too you could try this, or maybe try a fresh install only including the most basic things to see if it works that way, and keep adding tools and features until you find which one is the problematic one.
I am also experiencing the same problem.
In my case, it happens when I switch branches with the VS solution open. It hangs while trying to unload one or more projects. The solution has ASP.Net MVC and C# projects.
So far I didn't find how to fix this.
I'm developing a vsto outlook plugin and works perfectly when I run on debug mode. If I install it, it's always disabled automacally and I can't make it work.
Does anybody knows what's happening or could I do to figure out what's the problem?
We have encountered times when our Chem4Word add in has been hard disabled. This may have caused by pressing the stop button in visual studio during debugging! This makes word think the add in has crashed. In our case it was only apparent when trying to run it as an installed add in, running in visual studio IDE never showed an issue.
See here for instructions on how to clear any hard disabled add ins
https://learn.microsoft.com/en-us/visualstudio/vsto/how-to-re-enable-a-vsto-add-in-that-has-been-disabled?view=vs-2019
I think that this applies to all versions of office.
You can also look in the registry at
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Word\Resiliency\DisabledItems
Substitute your target application and version number as appropriate.
The key should not have any items if nothing in hard disabled.
I'm following the instructions here but it seems not to work. I'll contact the developer, but wonder if someone has been able to make it work somehow.
The installation process is completed, but Netbeans doesn't see the plug-in. I assume it is deployed incorrectly.
Not sure how it got fixed but suddenly upon starting the IDE an update for the plugin showed up and it started working afterwards.
I started a new application and changed the target framework to v2.0 for Windows XP compatibility but when I run the debugger (with or without code) I get an error saying MSVSMON.exe appears to not be running. I tried restarting the project and even changing the target framework back to v4.5 but I still get the error. How do I fix this?
I know this is quite old, but in case somebody has the same issue I thought I'll answer it. I changed the platform target to 32bit and debugging worked. Setting it to 64 bit or Any CPU caused the error you are describing. Not really the perfect solution but at least I can debug now.
Complete beginners question here, literally.
I'm interested in developing Windows 8 Apps so I've just downloaded the development tools and installed them following the starting guide found here: Part 1 - Create a "Hello, world" App.
I followed the instructions exactly however Step 2 does not work, when I try and run the app. I hit F5 and then says in the Output module that the deployment is successful but the app does not run as indicated in the tutorial. I left it for 10 mins but the entire Visual Studio program was unresponsive so I ended the task in task manager.
The app did get added to the Windows 8 start screen and I CAN run it from there.
I then opened the program again and tried F5 once more, again this time the Output module indiates "Deployment Started.." but then the program crashes again.
Am I missing something or doing something wrong? I literally haven't changed a single line of code.
Also cancelling the build does not work.
Thanks for any hep!
UPDATE: In case it is confusing I use "Build" in the title because that is the term from the tutorial, I have noticed that under the menu's F5 is actually titled "Debugging" and "Build" is F7, I'm not sure if the tutorial has made a mistake, either way it does not affect my issue.
A simple re-start managed to fix this issue however I still have no idea what caused it!