I updated to Visual Studio 2015 Update 1 RC since I want to be on-the-edge with the XAML Designer.
When I stop debugging or an exception occurs in a Windows Phone 8.1 App, I crash every time and my only solution is to restart visual studio..
My solution: For now I rollback-ed to Visual Studio 2015.
Anyone knows why?
I've figured that this crash happens when the solution contains a WPF project (which doesn't needs to be the start project or to be started at all) and the XAML UI debuggintools are enabled.
Going to tools -> options -> debugging and unchecking xaml ui debuggingtools stopped the crashes for me.
Related
I am using visual studio 2015 on windows 8 to develop xamarin mobile apps.
When I scroll .xaml page in visual studio, the visual studio crashes sometimes with the following errors
When I try to reopen visual studio again I am getting the following errors and visual studio never open till I restart the system
How to fix the problem ?
I have been facing a problem of freezing Visual Studio 2015 frequently during building a Xamarin Android project and each time I have to kill Visual Studio process and start the building process again then it will work. I'm facing this issue with two machines both of them are Windows 10 Pro .
I'm using:
Visual Studio 2015 Community update 3.
Xamarin 4.2.0
Xamarin.Android 7.0.1.6
I have the same problem and can't find the source of why visual studio hangs while developing Xamarin android project.
Specs:
Visual Studio Professional 2015 with latest update
Windows 10 64-bit
Dev Express Included
ReSharper Installed
Visual Studio 2013 also installed on machine
16 GB Ram
Intel i7 6700 CPU 3.40 GHx
Git for source control
jdk1.7.0_55
Xamarin latest version
The designer also hangs crazy time
In event viewer I can see that vs studio hangs
The program devenv.exe version 14.0.25420.1 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel
I tried the following attempts and did not helped me:
1.Reinstall (windows + visual studio).
2.Reinstall vs with Xamarin.
3.Update to latest version of Xamarin and vs
4.I also deleted the C:\Users\ ...\AppData\Local\Microsoft\VisualStudio\14.0 directory and i just
lost my settings and some configuration with no effect. Also VS extensions have been removed
5.Deleted my anti virus did not helped
6.No firewall anymore disabled it
7.Disabled windows defender
8.Removed Resharper
The only solution i have is :
Kill vs and restart... but this in annoying since to many times it hangs
Before you go re-installing everything...
I've also experienced Visual Studio (2015 Update 3) hanging while starting a debug session into my Xamarin Android project.
It appears that Visual Studio is having some timing issue between the deployment and connecting to the debugger. What is working for me...
1) Open Task Manager and Kill Visual Studio (because it's hung, and this is the only way I know how to get it out of this state), then...
2) Keeping the Android Hyper-V instance running from my last debug attempt, re-open my project and start a new debug session.
Perhaps Visual Studio is failing to connect to the ADB (Android Debug Bridge)?
I got the Visual Studio Professional 2015 Update 3 and launched the executable (vs2015.3.exe) while Visual Studio was still running. I got the following "Setup warning" but thought that a computer restart was fine as long as I could work during the update.
Please close visual studio now to reduce the chance that a computer
restart will be required later
Visual Studio immediately started acting strange, loosing Intellisense among others. I decided to restart Visual Studio and was then met with the error:
Cannot run when setup is in progress
I then canceled the update and thought that I could install this update during the night instead. When I opened Visual Studio again and tried to load a project I got the following error:
Project '' could not be opened because the Visual C# 2015 compiler
could not be created. Please re-install Visual Studio.
I then opened Update 3 executable again to complete the update. I was met with this feature list and could not do anything:
Restarted the computer but was met with the same dialog. I then opened Visual Studio again and this time the project loaded but without Intellisense. Restarted Visual Studio and now the project would not load at all. I then deleted the content of these 2 folders and ran devenv /resetsettings
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\VisualStudio\
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
I could now open the Visual Studio project normally again but I still could not get features when running the Update 3 executable. Is there anything else I can do or do I need to reinstall Visual Studio completely? I think it is really bad that the warning Microsoft gives is that a computer restart might be required when obviously the program cannot run in the background while updating.
Solved it by going to Control panel -> Programs and Features -> Microsoft Visual Studio Professional 2015 with Updates. Click "Change" and then select "Repair".
My Visual Studio 2015 RTM crashes when opening some solutions consistently.
In the Event Log Viewer it shows application "Fault Module KernelBase.DLL"
I have tried resetting settings as mentioned on this post.
What can I do to fix this problem?
I fixed this problem by doing a ResetUserData and Repair from Program and Features in Control Panel.
Do a .\devenv /ResetUserData (It will reset everything including customizations and all)
Goto Control Panel > Program and Features and repair Visual Studio 2015.
Restart your computer.
Visual Studio 2013 Professional crashes when I try to open the Debug tab in the properties panel of a Windows Phone 8 project. No error given only "Microsoft Visual Studio 2013 has stopped working". Attached Visual Studio as a debugger and got the following error:
An unhandled exception of type 'System.NullReferenceException' occurred in Microsoft.VisualStudio.SmartDevice.ProjectSystem.Base.dll
I'm running Visual Studio as an Administrator
I have the same problem with a very weird behavior. The first time I create a WP8 project in VS2013 I have all the options for emulators, the designer, the devices and even the debug tab of the project working fine. All the markup of the mainpage.xaml is ok. If I close and reopen a new instance of the project in visual studio 2013, everything start having problems: I can not open the debug tab, the emulators optios are gone, the device windows appear in read only mode, The markup of the xaml says an "Invalid Markup" and got errors like:
The name "PhoneApplicationPage" does not exist in the namespace "clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone".
BUT: It compiles and run in the emulator.
I also DO have all the Xamarin tools installed. It seems I am not getting this errors in Visual Studio 2012.
SOLUTION: From Xamarin Studio check for update and install the android SDK 4.10.2 and GTK# (2.12.0.0). At the time of this writing you have to subscribe to the BETA Channel to get this update. After installation you DONT have to delete de .suo file of the project and everything looks fine again in Visual Studio 2013