I am working with Visual Studio developing an app with Xamarin.Android but I found a problem that is giving me a lot of headache because it prevents me from downloading the NuGets that I need (Xamarin.Firebase.Messaging).
The main problem is that I download all the versions of Android from the SDK Manager, but when I want to select Android 9 (API 28) or Android 10 as "Target Android Version", it shows me all up to Android 8, I mean, no It shows me neither Android 9 nor anything else above.
I have already tried to update, uninstall the packages and reinstall them, and nothing works.
Any advice?
At least to be able install the NuGet that I need to implement Push notifications in my app?
When i try to create a blank Android project in Visual Studio 2015 i get error:
Desktop windows 7 Enterprise
I have installed the latest versions of VS2015 and Xamarin.
Someone resolved problem on other forum - check this out.
Make sure Android Studio is not installed on your computer. If it is, uninstall it and run the VS2015 installer again until all Android SDK errors go away.
Make sure VS2015 is closed and install the most recent stable version of Xamarin for Visual Studio 2015. I found it here: https://store.xamarin.com/account/my/subscription/downloads. (Trying to install it through VS2015 didn't work for me under Tools -> Android -> Settings -> Xamarin for Visual Studio Updates.)
Make sure you have Java SDK version 7 installed on your machine (do not use 8 even though its the latest). You also must use the 32-bit version even if you have a 64-bit machine. This was key!
Install the Android SDK. Standalone version, not Android Studio + Android SDK.
Install the Android NDK.
Restart your computer and open VS2015. Go to Tools -> Android -> Settings and set the correct paths to Android SDK, NDK and Java SDK.
In the new Visual Studio 2015 RC the XAML designer does not bring up a UI for a C# Windows Universal project but it does for a C++ Windows Universal project. This occurs with both the Professional and Community editions. Has any one experience the same problem and have a workaround/solution?
I have the same issue, when I upgraded the Win10 SDK from 10240 to 10586, set the project properties->Application->Target version to Windows 10(10.0;Build 10240),
the design view shows up again.
If the XAML designer is failing to open, check the "Flag" notifications in the top right corner. You might notice a message that your Windows 10 build needs to be updated.
1:
The target platform can't be newer than the Windows 10 build you're actually running.
To help clarify this a bit -
If you are building a Universal Windows 10 application with Visual Studio 2015 running on Windows 8.1 - something that we have enabled for the first time without requiring your to upgrade your OS, you will not be offered the XAML designer option - we will only allow you to edit XAML using the editor and IntelliSense. Similarly, you will not be allowed to test the application locally or using the Simulator (since it is a Windows 10 application and cannot run on your machine). Everything else should work fine, but for the best experience possible, consider upgrading to Windows 10.
If you are building a Windows 8.1 universal application, it should work just like before.
Windows 10 (fresh install + Developer mode)
VS 2015 Update 1 Ultimate
SDK Build 10586
By default no designer being available even via Shift-F7.
This expands the scope of the original problem, its not a VS edition based issue at all. Its a problem with the SDK support.
AS per Wener Henze
Swtich back to Build 10240.
Fixed. Designer now available.
Werners workaround is confirmed and saved me lots of time. I don't have the rep to thank him, or comment on his post directly.
I installed fresh Windows 10 and Visual Studio Community 2015, and the designer failed to load (for MainPage.xaml etc). I had to:
enable developer mode in system settings (update section) as suggested in info dialog
(re)install Visual C++ redistributable for VS 2015
But I don't know which one exactly resolved the problem... Now the designer loads as expected. (I tried only C# universal app yet)
In case if you have installed fresh Windows 10 Build 10240 and downloaded and installed latest Visual Studio 2015, target version 10240 is not available in Project Properties -> Application -> Target version and designer is not working too.
I have got Target version 10240 selection available after I've installed additionally Windows 10 RTM SDK from following page. As discussed above, designer works fine if Target version 10240 is selected.
As an update to the answer of #Ivan because I just had to do with this issue recently.
In my case I only had the option to change the Min Version from 10586 to 10240 but for the Target version I had no other choice than 10586. So solving this issue was not possible.
The solution was to install SDK Version 1506 (Version 10.0.26624.0) which can be found here https://developer.microsoft.com/de-de/windows/downloads/sdk-archive
After a restart of Visual Studio I was able to switch the Target version as well #Ivan mentioned and the XAML designer finally showed up. Heureka!
Thanks for the hint #Ivan.
you have to have the appropriate sdk installed on your machine, you can get it from the official site of Microsoft https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
before that please remove the old sdk you installed on your pc, so that VS will use the new one.
then it'll work... i fixed mine in this way.
I installed an sdk to upload my app to the store. After the package creation I went home, only to see this error the next day when I started VS2013 again. note: It worked fine the same day I installed it, problem began after system reboot
error:
Cannot resolve 'Windows.metadata'. Please install the Windows Software Development Kit. You can retarget your project to Windows 8.1. The Windows 8.1 SDK is installed with Visual Studio. See http://go.microsoft.com/fwlink/?LinkID=278967&clcid=0x409 for more information on how to retarget your project
So I reinstalled the development kit and followed the steps on the Microsoft website, but i still can't retarget it (VS doesn't provide me with an option to do so), also, VS tells me my app already is targeted to 8.1.
Anyone has any ideas how to solve this problem?
Most stupid problem ever. Missed the visual update 2013 update. Just updated it and now its fine
I am stuck with this now, I had windows phone sdk installed on vs 2012 but suddenly, creating a project in it starts to give me object reference not set to an instance error! could not create project.
I uninstalled sdk ,uninstalled vs2012, installed again and now when i try to install phone sdk 8.0 i get this error saying
Microsoft visual studio express 2012 for windows phone cannot find requested object.
Windows phone 8.0 Emulator images Cannot find the requested object.
I am having heads gone moments now! please help..
I have windows 8 pro 64 bit and do have hyper v enabled and checked.
Try to either update or uninstall NuGet. This worked for me: UNINSTALLED NuGet (as updates to it did not work)
same happened to me.
it occurs because of corrupted .iso file.
so either download a new one or install using online installation, i'm afraid but this is the only possible solution.