This question already exists:
Visual studio 2013 keeps crashing
Closed 5 years ago.
So I have a machine which runs Windows 10 with Visual Studio Ultimate 2013. But everytime I start the program it crashes within 1 minute, even without even moving my mouse.
When it crashes it gives me the following error: An unhandled Microsoft .NET Framework exception occurred in devenv.exe [6820]
I have noticed that the error started coming up after I connected to a Team Foundation Server, but I dont know if it has anything to do with the issue.
Furthermore, I am running a clean Windows install so that shouldn't be the problem either.
At this point I really don't know what to do, and I have my exams in two weeks, with which I need Visual Studio with Team Foundation Server.
Please help me with this, it would be very much appreciated!
None of the above. The answer is to install Update 5 for Visual Studio 2013:
https://my.visualstudio.com/Downloads?q=Visual%20Studio%202013%20Update%205
According to your description, you may need to repair your installation of the .Net framework.
To do this, please goto:
Control Panel >>> Programs >>> Programs and features >> Microsoft .Net Framework ClientProfile/Core >>> Select Repair >>> .Net Framework (.net version here)
Alternatively, you can use the setup verification tool to diagnose your .Net Framework here: .NET Framework Setup Verification Tool or Alternatively. Also check the .NET Framework Setup Verification Tool User’s Guide
If you do find problems with your .Net Framework, you can use the Repair Tool to fix it, it is designed to fix issues specifically concerning the .Net Framework as well as updates: Microsoft .NET Framework Repair Tool
After repairing, restart your system and please let me know if this helps.
we have the same problem at the office, seems like its a Microsoft issue.
here is a workaround:
https://www.reddit.com/r/VisualStudio/comments/7a2uy3/workaround_visual_studio_is_crashing_for_me_today/
Related
Before any question, I did a lot of research on Google and S.O. , and I found only old and obsolete threads without any help for my problem.
so...
1. First question:
I wonder if it's possible to target the installed Mono framework directly from Visual Studio 2019.
I know that at the time of writing, Mono 6.4.0.198 is released and it supports almost all features of .NET 4.7 (and C# 7.0), so I created a simple project targeting FW4.7.2 and it works fine so far.
I just wanted to know if I can create a project entirely on Mono Framework with no other reference than Mono assemblies.
I did a lot of research and the only thing I found is this: https://erictummers.com/2012/01/25/target-mono-from-visual-studio/
but i'd rather not mess with the registry and assemblies files.
2. Second question:
I would like to build and debug my Mono code directly on the target machine (Raspberry Pi). It's possible to do so in Visual Studio 2019?
I managed to compile a C++ program directly on the RasPi, so i thought it might be possible to do the same for Mono/C#.
Any help would be very appreciated!
I really don't know what is wrong but since so many hours I just want to run the sample application but after downloading the .zip file and launch the project from the file CefSharp.MinimalExample.WinForms it seem to be built well after a while the the form display...loading the google page.... then the Windows keep showing the BLANK PAGE (See the image attached to my post) forever...As I did not change anything in the code of the sample application then I don't understand what is wrong at all. My working environment is:
Microsoft Visual Studio Community 2015
version 14.0.25431.01 Update 3
Microsoft .NET Framework
version 4.6.01055
Microsoft Visual C# 2015
Windows 10 OS
Notice also that I'm a beginner to C# and I use Nuget to manager the package.
Thank in advanced
I've got a project that's set to Azure 2.6. I have Visual Studio 2015 installed. I get prompted to upgrade the project (see image 1 below), which I do not want to do (it's production code and I don't know what the side effects may be, how many things might break).
I tried installing Azure 2.6 and related tools, but it doesn't help. Image 2 shows all the Azure related stuff I have installed
I have a coworker who has Visual Studio 2015 and can load the Azure project in the solution without a problem (see image 3). So it's clear that you don't have to upgrade the project.
I'm going to try installing VS 2013 Community Edition + Azure 2.7 tools to see if that satisfies it. I'm grasping at straws at this point.
Any ideas?
A coworker helped me to come up with the solution:
Go to the "Microsoft Azure SDK for .NET - 2.6" page here:
https://www.microsoft.com/en-us/download/details.aspx?id=46892
Download "MicrosoftAzureTools.VS140.exe" and install it
Run appwiz.cpl from the run prompt and filter on "azure" in upper right
You should see "Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.6"
Open Visual Studio 2015 again and your project should now load without prompting to upgrade. Do a Rebuild All just in case to make sure it builds.
It turns out I had dang near everything installed except that one 2015 tools + 2.6 Azure combination.
I recently installed VS 2013 on Windows 8.1. When I open up any xaml file I get this error message below.
This happens even if I create a project from scratch in VS 2013. I've tried re-installing Windows 8.1 and VS 2013.
Has anyone come across this issue?
System.Exception Package failed updates, dependency or conflict
validation.
Windows cannot install package
App.a94e67374.a8775.a4662.ab57f.a7f1805386d2c because this package
depends on another package that could not be found. This package
requires minimum version 0.0.0.0 of framework
Microsoft.VCLibs.120.00.Debug published by any publisher to install.
Provide the framework along with this package.
I had the same error just like you.
I registered myself and got a developer licence. After registerering
I debugged the program and it all got fixed by itself
I use windows 10, to fixed it, I go to Setting -> Update & Security -> For developers, I choose Developer mode. In windows 8 and 8.1, I don't know.
the figure of setting
It happened to me as well with both VS 2013 and VS 2015. I think it's a common problem when VS is freshly installed.
I solved it both the times with running VS with administrator privileges (right click on the VS tile on Windows 8 and select "Run as Admin") and opening a XAML file with the editor. It takes some more time than usual, but then the problem gets fixed by itself.
After that you can continue using VS with standard user privileges.
Sadly none of the above solutions seemed to work for me.
My windows 8 installation is quite old and over the years, I had installed several visual studio versions such as 2010,2012 and 2013.
Even uninstalling visual studio, there will be many files and packages left behind.
I managed to fix this issue with the following steps:
1. Install Revo Uninstaller and from the options menu I enabled the "Show system components".
2. For some reason along with the visual studio 2013 ultimate installation (main application - do not uninstall this) I uninstalled two installations related to the main visual studio 2013 application such as: vs 2013 premium and vs 2013 professional apart from the main application (Repeat: Do not uninstall the main app)
3. Uninstall all the Microsoft Visual C++ runtime packages
4. Performed a repair of the the visual studio
Something else that I would rather prefer doing than performing a full repair as it takes far too long, would be to uninstall all the visual C++ runtimes packages and anything related to them (you might brake some apps but they are easy to find and easier to install)
and simply reinstall those visual c++ redistributes starting from the latest version and see if it works.
Before anything however, make sure you have a developer license like said on a previous post (no developer account is required. You don't have to pay for anything yet).
I'll try to provide step-by-step guid to fix the issue.
Please create an MSDN account here https://msdn.microsoft.com and use your login credentials in VS 2013
You have to enable "Developer mode" option from UPDATE & SECURITY (Windows 10). Attaching the screen shot for more clarity.
This should solve the problem, but if it doesn't then,
Try restarting your Visual Studio as administrator.
Some nice reads about configuring your device for development Windows 8 and Windows 10
I'm Trying to develop a project that interacts with Live Messenger (8.5, 9.0 and higher)
I can't get it to work in windows XP, whenever i try to instantiate a MessengerClass (available in the messengerAPI) it gives me an exception, however, in windows vista, this error doesn't happen (same exact code, tested in more than one XP and more than one Vista machine).
I've read in forums that this issue is due to a security update microsoft has released in november 2008, but i haven't found a solution (though i'm not quite sure about it).
Has anyone ever had this problem ? any solution ? workarounds ?
I've found in a forum someone that has got the old discontinued version of MessengerAPI for desktop applications and made it fit into newer live messenger clients by editing the api itself and made it available in a link (note that as of July 21, 2011, this link is broken).
You just have to run TLBIMP.EXE from the command console in visual studio:
tlbimp [path]\MSNMessengerAPI.tlb
This will create a .dll in the same folder as the original .tlb file. You can import it as a reference in Visual Studio and use it right away.