I just created a new Xamarin App: Xaml Portable App in Visual Studio 2015 Enterprise. Whenever I try to deploy the UWP Project I get the following error:
DEP0001: Unexpected Error: -2147467259 Project.UWP
I updated Visual Studio and all Nuget Packages, but I'm still getting the same error. I google the error code, but could not find anything useful.
What am I doing wrong? The Project is still empty/default.
Had the same problem with a bit older SDK and Emulator. Installed the newest ones from Microsoft SDK Archive - Version 10.0.14393.0 - and it works now.
Related
I am trying to run a UWP project in Visual Studio 2017 and keep encountering this error.
This error occurs with a new Blank UWP project as well.
I have tried using the same vsconfig as my colleague and even a full uninstall and reinstall of Visual Studio 2017 with no success. I am wondering if I might be missing a windows DLL as it is a Win32 error.
I'm using Visual Studio Community 2017 Version 15.7.1 on Windows 10 Home Version 10.0.16299 32-bit, Windows SDK Version 10.0.17134.12 and C++/WinRT Version 1.0.180505.2. When I try to create a new project using any of C++/WinRT templates, I'm getting this error message:
Error: this template attempted to load component assembly
'Microsoft.VisualStudio.Universal.TemplateWizards, Version=15.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more
information on this problem and how to enable this template,
please see documentation on Customizing Project Templates.
Is there an easy fix to this problem?
This error was caused by missing UWP SDK. My first installation of Visual Studio was configured for Desktop development with C++ workfload only, so UWP development workload components were missing. I added UWP development workload using Visual Studio Installer.
This error comes due to absence of UWP tools. For Visual Studio 2019, you simply have to go to Extensions>Manage Extensions>Online and search for "UWP Essentials" then download it for free. Close all Visual Studio windows and then when you open it again, the problem should be solved.
The easiest way to fix this is to install the whole UWP Essentials package. It contains a lot, but it gives you everything to fix the issue. Go to Tools > Extensions and Updates > Online and search for "UWP Essentials", and use the Visual Studio Installer to get it.
I'm in a situation where I've been developing in a very large Xamarin project using Xamarin Studio on OSX and I now have to migrate to Windows 10 / Visual Studio. Recreating the project is not an option, as I said it's quite large. I've searched up on the topic but I'm finding very little information on this and most comments are from several years ago. I tried opening the project in Visual Studio (2015) and get the following errors:
(Both reference the file "values-v24.xml")
Error retrieving parent for item: No resource found that matches the given name
'android:TextAppearance.Material.Widget.Button.Colored'
Error retrieving parent for item: No resource found that matches the given name
'android:TextAppearance.Material.Widget.Borderless.Colored'
Has anyone successfully migrated from OSX to Windows / Vis Studio that can advise? The project targets both Android and iOS.
All Xamarin projects are fully compatible with Xamarin Studio, Visual Studio for Mac and Visual Studio for Windows. I'd recommend updating to VS2017 as this has all the latest support but otherwise it will work.
Based off your error I would check that you have the same Android SDK versions installed on Windows as you had on Mac.
All of our Xamarin devs (4 on the team) have started to experience the same error while opening Xamarin.Forms iOS-specific project in Visual Studio 2015. The project fails to load with an error dialog like this:
Clicking install will trigger the installer that will:
but then, since obviously Xamarin iOS is installed, will say that nothing new is there to install:
So basically, the mystery of why Xamarin iOS project won't open remains. Any hint would be greatly appreciated.
I have installed Visual Studio for Mac. I tried to create project, but Visual studio project gives error as shown in the picture.
How can i resolve this error?
I guess that I had the same issue. You need to install stable version of .net core sdk: https://github.com/dotnet/core/blob/master/release-notes/rc4-download.md