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
Related
I'm using Xamarin with Visual Studio 2015. After a recent upgrade of the Xamarin plugin, I'm getting an error the first time I try to "Clean Solution" or "Build Solution" after launching Visual Studio:
The Xamarin license file is invalid and could not be recovered. You will still be able to access the Xamarin features that are included in Visual Studio Professional.
The error dialog offers a single option: "Use Visual Studio Professional". If I choose that option, I can re-try whatever operation I was using and it will work fine, and continue to work fine until I exit and re-launch Visual Studio.
I have found some older threads where people mention what seem like similar problems, but the solutions refer to using Tools->Xamarin Account, which does not appear anywhere in my Visual Studio "Tools" menu.
Specific versions in play:
Microsoft Visual Studio Professional 2015 14.0.25431.01 Update 3
Xamarin 4.8.0.754
Xamarin.Android 8.1.0.13
I have this same problem with a couple of different, unconnected solutions (one of which is using Xamarin.Android, another of which uses Xamarin.Forms).
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 ?
Whenever I click "Attach to Process..." in the Visual Studio 2013 Visual studio crashes on me before seeing the attach dialog, regardless of if I have a project loaded or not. I can click debug and get into debug mode but I really need to attach.
Things I've Tried:
Uninstalled and Reinstalled VS
Loading Visual Studio with "/safemode"
Loading Visual Studio with "/log" and checking the log (no notable errors listed)
Deleting my Local Temp folder
Additional Info:
OS: Windows 8
Version: Visual Studio 2013 Update 4
Exeption when debugging VS crash:
An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.CommonIDE.dll
Not sure what else to try or where else to look, I have VS 2015 preview install and it has no problems.
In my case the culprit was "PowerShell tools for Visual Studio 2013". I disabled it and the problem disappeared.
Tools => Extensions and Updates... => choose the extension and press Disable
I'm developing WinRT metro app using Visual Studio 2013 premium version on Windows 8.1 Enterprise 64 bit machine. After getting windows automatic update, I am facing following error while debugging my app in Visual studio.
Although, it starts the simulator and deployed my solution. But now, I am not able to debug my app using simulator.
Don't know the root cause but following solution works for me
Close Visual Studio
Delete Temporary ASP.Net files
Delete VisualStudio Solution.suo file
Open Visual Studio and run the solution
So I'm trying to do what I think is a very simple thing: generate a Windows Phone app with PhoneGap and open it in Visual Studio. On a totally fresh Windows installation (via Bootcamp), I've:
Downloaded Visual Studio Express 2013 for Windows (the very first download button: http://developer.windowsphone.com/en-us/downloadsdk)
Created a PhoneGap Windows Phone app per the Getting Started guide.
However, every time I try to open the csproj file, I keep getting this error:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.csproj"
No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.sln"
No matter what I do. It works totally fine on Visual Studio 2012 for Windows Phone. I've tried it on VS 2013 for Desktop, and that doesn't work either. No clue what is happening here, and don't know even where to start to figure out what's wrong. I've Googled extensively to no avail; basically all instances of this error seem to have to do with previous version of VS. Pointing in any direction would be very much appreciated.
Turns out Update 2 wasn't getting installed correctly. I ended up installing Visual Studio and the Update 2 separately and Update 2 got installed successfully. Everything works now.
To build Multi device hybrid (Cordova tooling) apps with Visual Studio, you need to have Visual Studio 2013 Update 2 - Professional, Ultimate, or Premium.
Visual Studio 2013 Update 2: Global Apps e Android/iOS App