If I try to debug an application in VS2015, I Always get the error
"csc.exe" exited with code -1.
If I try another project (winforms/console application/...) I always get the same error. I previously had VS2008 installed for developing apps for WIN CE-devices, and I thought that might be the reason, but I already uninstalled VS2008, and reinstalled VS2015 (multiple times).
I have no other ideas what to do, did anyone had the same problem earlier?
Related
I have a Windows 10 laptop and am running Visual Studio 2017 (15.3.3). When I try to debug my Angular 4 app hosted in an ASP.NET page I get an error stating Cannot debug some of the code in the process chrome.exe and that the WebKit code succeeded and Script code failed (0x80040154). See error details below:
Please help.
I ended up fixing it by uninstalling VS2017, deleting the C:\ProgramData\Microsoft\VisualStudio directory and then reinstalling VS2017. This is not a great solution but it was the only one I found that worked.
Whenever i try to debug new dot net core application, dotnet.exe crashes immediately and not able to debug my application. I am getting following detail in output window:
The program '[4220] dotnet.exe' has exited with code -2147450750 (0x80008082).
The program '[3468] iisexpress.exe' has exited with code 0 (0x0).
Error code 0x80008082 is for CoreHostLibLoadFailure based on what i have searched on internet but not able to found something which provides detail about how to solve this problem. I need help to solve this problem.
Not sure whether solution will work for everyone but i am able to resolve issue by installing update KB2533623. I have windows 7 SP1 32 bit installed my PC.
I recently installed Visual Studio 2013 on my dev machine and was missing Code Contracts support afterwards (had it installed previously), so I reinstalled Code Contracts. Immediately thereafter, Visual Studio refused to start up with the error message "A problem occurred when loading the Microsoft Visual Menu....", as described here.
I tried to do as advised in the message in every possible way I can think of, but none of them worked.
So I reinstalled Visual Studio 2013 and got the following behaviour:
VS does launch up correctly for exactly one single time, right after the reinstall. Any subsequent lauch fails with the error message described above. I verified this by reinstalling VS a second time and got the same result.
I then uninstalled Code Contracts, reinstalled VS again and still got the same. After completely wiping my system of .net framework 4.5.1 and reinstalling VS again, I was finally rid of this message.
So I braced myself, launched up the Code Contracts installer and guess it? Same procedure as every year: One single correct VS launch, all subsequents with error, again!
I did the same setup on two other machines, neither of which had any problems.
What can I try next (short of wiping my whole machine)?
I used to use vs 2012 for some month without any problem, today when I want to open my c# project , I got this error message:
This program has known compatibility issues
Visual Studio 2012 Express for Windows Desktop is incompatible with this version of Windows.
when I click Run program I got this error:
'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' package did not load correctly
When I continue with this error message, another error message shows: Visual Studio has stopped working. I need to get it work as soon as posible, any idea?
I had a similar problem, installing this patch solved it: KB2781514
I just got this error in VS2013 after installing a VS extension. I fixed it by closing all instances of Visual Studio, then removing %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache
Happened to me today on VS 2012. The Update mentioned by Jarek didn't install (it complained I already have more stuff installed). Deleting the folder mentioned by squeaky didn't work.
Finally fixed after I installed VS 2012 Update 4 : http://www.microsoft.com/en-us/download/details.aspx?id=39305
I have a VB.Net windows forms application that has been around for a very long time. I am working the project in Visual Studio 2010 Premium, on my Windows 7 x64 workstation. Everything has been going along fine till a couple days ago. No every time I build this project Visual Studio 2010 crashes.
The only thing i have to go on is this from another Visual Studio 2010 instance that attached the debugger to the dieing process.
...
The thread 'Win32 Thread' (0x177c) has exited with code -2147023895 (0x800703e9).
The thread 'Win32 Thread' (0xc44) has exited with code -2147023895 (0x800703e9).
The program '[4224] devenv.exe: Native' has exited with code -2147023895 (0x800703e9).
No one else on my team has this issue, and I don't have problems with any other projects.
This is .Net 4.0.
Any thoughts or suggestions are much appreciated,
Beezler
It might be wise to start VS with the /safemode parameter.
I also had this problem and I solved it by uninstalling the Achievements extension.
Do you have any modifications whatsoever to the solution/projects/code that are different from the team members not experiencing the crash? Have you tried getting a fresh-cut of the source to a different directory and trying to build that?
Another thing to look at would be to disable any add-ins/extensions you might have installed.
I had the same problem but with C++ projects. They ran fine for a while, then all of a sudden just started crashing on every build. This fixed it for me:
To fix: click start, type "cmd" into the search box, right click "cmd.exe" in the search results, select "run as admin", then run this command: regsvr32 "C:\Program Files (x86)\Internet Explorer\ieproxy.dll"
Reference: http://connect.microsoft.com/VisualStudio/feedback/details/533194/crash-while-compile-an-extremely-simple-c-project
If that doesn't work, the plugin AnkHSVN is known to cause the same problem. http://blogs.msdn.com/b/visualstudio/archive/2010/05/11/if-you-are-seeing-intermittent-crashes-with-vs-2010.aspx
This is weird and i've also faced a similar issue like that. First i add a watch to a class. and when i try to drill to details of class collection, process terminates and debugging stops.
I've figured out that, it is giving stackoverflow error code. Base of the exception was just because of infinite loop.
So i re-checked all collections twice to find the property that causes a loop. like
int a {get {return MethodThatAlsoReturnsA();}
hope it helps s.o.