I`ve installed Xamarin (Xamarin studio, Xamarin.Android) But there are some problems with building even the simpliest project(just create new project->Build->Get an error).
After some googling I found that I`m not the only one experiencing such problems.
The only solution I found is to revert to an earlier version of Xamarin.Android. But how do I do this? Can anyone help, please?
Current version of Xamarin.Android is 4.8.0
Desired version to rollback to is 4.6.6
I've talked to Xamarin about downgrading. It's not straight-forward. You will need to uninstall everything from Add and Remove Programs and then re-install directly from the following .msi's:
JDK 1.6: http://download.xamarin.com/Installer/MonoForAndroid/jdk-6u39-windows-i586.exe
Android SDK: http://dl.google.com/android/installer_r22-windows.exe
GTK#: http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.21.msi
Xamarin Studio: http://download.xamarin.com/studio/Windows/XamarinStudio-4.0.8.msi
Xamarin.Android for Visual Studio and Xamarin Studio: http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.6.08007.msi
Xamarin.iOS for Visual Studio: http://download.xamarin.com/MonoTouchforVisualStudio/Windows/mtvs-1.1.200.0.msi
I downgraded monodroid multiple times because of issues with performance. I did not have to uninstall and re-install everything.
Control Panel > Programs and Features > Uninstall Xamarin.Android.#.#.####
Download msi http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.6.08007.msi
Install
easiest way of doing is as described here
Download links
Links for the recent individual installer packages can be found on https://store.xamarin.com/account/my/subscription/downloads.
In most cases, uninstalling is not even neccessary. just download the version you want to install and it will handle uninstall-install together.
Related
I've had this problem since this morning and have tried various options, but haven't found a solution to my problem yet.
The problem is that every time I want to start my Blazor web application I get this error message:
I tried several ways to solve this problem, however all I found was for IIS-Express with this problem.
I use several startup projects, and I don't find any solution for my problem.
I had the same problem this morning after updating the Microsoft packages in my WASM-project. Updating Microsoft.AspNetCore.Components.WebAssembly.DevServer 6.0.8 to 6.0.9 resulted in the error mentioned. Updating to .NET 6.0.109 SDK solved this. So in general: after updating the DevServer package you need to be sure you have the corresponding .NET SDK version (or higher) installed.
I'm using VS 2022 17.4.0 preview 1.0.
After I installed Visual Studio again it worked.
Just do this steps:
Close Visual Studio.
Navigate to the sub-folder of Project's main folder.
Delete .vs folder and open project again in Visual Studio and RUN
if don't work
just click on build button in app bar in visual studio then click on Rebuild Solution and run
This solved it for me
https://www.codeproject.com/tips/1029540/solved-process-with-an-id-of-is-not-running
Open the .csproj file, and remove tags DevelopmentServerPort, DevelopmentServerVPath and IISUrl.
Had an same issue when testing a Blazor app, it fixed after restored the package Microsoft.AspNetCore.Components.WebAssembly.DevServer from 6.0.8 to 6.0.5
Had the same issue. Updating Visual Studio and the .NET SDK fixed it for me. I had SDK version 6.0.302 installed and updated to SDK version 6.0.400.
I had this issue with code I downloaded from GitHub. The projects targetted .NET Core 3.1 which I hadn't installed. To solve, I double-clicked Properties in each project, and changed the Target framework to .NET 6.0.
I have installed visual studio 2017 community properly with mobile development packge and I can't find cross platform app in c#
What can I do to install it ?
You should review the installation procedure documented by Microsoft.
If you don't have the Xamarin menu under Help then you may have missed something. You can re-run the installer and change workflows to confirm you have all the required pieces. Note that additional steps are needed to build and deploy, although you see stuck at just the installation step if templates are missing.
The problem was that some files was corrupted because of a faild complete unistallation of xamarin ... so i prefered a speed and smart solution that can help me to continue my work so i installed a new os windows in new partition i tried to install those files , they worked on the new os so it's clear that xamarin will be installed properly finaly i installed the hole visual studio and that worked for me ...
I updated Visual Studio on Mac and after it tried to start, it told me I need to install Mono and directed me to a web page for that. I installed Mono. Now every time I launch Visual Studio, it just says
Could not launch Visual Studio
This application requires Xamarin.Mac native library side-by-side.
Please download and install the latest version of Mono.
I tried restarting but that didn't help.
What now?
(I'm running the latest macOS, and updated XCode if that matters. Mono is 5.4.0.201.)
New EDIT:(2022)
Users are saying there's a better way than uninstalling and reinstalling. I haven't tested it myself. See comments and answers for more information.
Previous EDIT:
Uninstalling and reinstalling is still the only way as the answer suggests, on: 2019:
March
July
August
September
The fastest and easiest way will be to uninstall and reinstall Visual Studio.
I have just ran into the same problem. I did follow the alert instructions and installed the newest mono framework from Mono websites (6.10.0). After this still the same issue. So I downloaded and ran VS4M installer and it said, it need version 6.8 of Mono framework and it did offer me to download and install this "update". So i went ahead. Still the same warning after launching VS.
Desperately enough after reading this thread I started looking for uninstall instructions (on official site). I did not want to use the script to auto-uninstall as I rather do it all by myself just for ensuring it will be everything done properly. So manual uninstall said to delete the Visual Studio app from /Application folder first. I did it. And woala: All the sudden the new app called "Visual Studio (old)" appeared (or maybe it was there already but I did not notice? Anyway, it was there). It was certainly weird, but I ran it. And it did work! Working instance of Visual Studio! I did check the updates and there was one for the app only. That was my first step straight after launching. It did download the new update and installed it correctly. Now I have end up with fully working and fully updated version of VS4M!
Conclusion:
Use VS4M installer to install all updates and necessarities to run VS4M. After this go to your /Application folder and delete "Visual Studio" app. The "Visual Studio (old)" app should appear. Run this app and update it straight away. (you might have to rename it afterwards from "Visual Studio (old)" to "Visual Studio")
Did you try going to the Applications folder? You'll see a Visual Studio.app file there and you can run Visual Studio by opening that.
I have sovled the problem by brew install --cask mono-mdk rather than brew install mono, in case anyone is installing mono through brew.
my Visual Studio does not recognize my Windows 10 SDK.
The steps to reproduce it:
Install VS 2015 Professional with update 3 and select the windows SDK for version 10.0.14393.0 as optional feature
Create an UWP App with this version
The following error is displayed in the output window:
error : The project requires a platform SDK (UAP, Version=10.0.14393.0) that is not installed. Please visit the following link for more information: http://go.microsoft.com/fwlink/?prd=12514&pver=14.0&sbp=PlatformSDKMissing&plcid=0x409&o1=UAP,%20Version=10.0.14393.0
Uninstall Windows 10 SDK 10.0.14393.0
Install Windows 10 SDK 10.0.14393.0 from the link provided in step 3
Create an UWP App with the version 10.0.14393.0 and the same error like in step 3 is displayed
further information: in the list of programs and features in the control panel the name of the sdk is:
Windows Software Development Kit - Windows 10.0.14393.795
and the version is
10.1.14393.795
My guess is that the version is wrong in the registry and therefore visual studio cannot find the sdk.
If I look under the path C:\Program Files (x86)\Windows Kits\10\Platforms\UAP I can see a directory named 10.0.14393.0 that contains a Platform.xml and a PreviousPlatforms.xml as it should.
Under the path C:\Program Files (x86)\Windows Kits\10\bin there is a directory named 10.0.14393.0 too so the SDK seems to be installed correctly
I already tried reinstalling of visual studio and several SKDs in different versions from VS or the online link and nothing worked. If I target another SDK Version like 10.0.10586 I am able to create the project.
Thank you for reading. I am thankful for every hint into the right direction.
Reinstalling Windows is not necessary. Modify the existing installation of VS2017 and remove the check next to Universal Windows Platform development, then go to the Individual components tab and select the Windows SDK 10.0.14393.
Click Modify.
Once finished, Modify the existing installation of VS2017 again and recheck the Universal Windows Platform development box and Click Modify.
Problem resolved and no restart required.
I had this same issue but resolved it by installing the .033 version rather than the latest .795. It is available on the SDK download page in the description of the SDK by clicking on the link behind 'QFE':
Windows 10 SDK (ver. 10.0.14393.795 – a QFE for 10.01.14393.033) and Microsoft Emulator for Windows 10 mobile
Also, even though it wasn't required, I uninstalled .795, then rebooted. Then installed .033 and then rebooted again prior to trying to open visual studio.
I'v already installed Windows SDK 10.0.14393.795 successfully. Then I create UWP project which targets 14393 successfully. So I could not reproduce your issue.
I already tried reinstalling of visual studio and several SKDs in different versions from VS or the online link and nothing worked.
If you have tried to repair your visual studio, but it still didn't work. You'd better use http://aka.ms/vscollect to gather the installation logs. Find vslogs.zip from %temp% folder. Please upload the file and share the link here. I will help you find the root cause according to the log file.
The solution is to reinstall windows and make a clean install of Visual Studio. Somehow the system got messed up and not even a visual studio reinstall could help.
I recently downloaded and installed Xamarin Studio and would like to try using the CocosSharp libraries for a game idea I have in mind. The problem is I don't seem to have access to CocosSharp. The templates are not appearing in the Xamarin Studio template selection, and they are not appearing in the add-in manager either (only MonoGame is there, which I installed as well). I even tried to download the NuGet package, which told me CocosSharp is already installed.
Am I missing something or doing something wrong? Am I allowed to use CocosSharp with Xamarin Studio Community edition?
Any advice helps, there seems to be no information anywhere on this topic.
The add-in manager for cocossharp is not compatible with the latest xamarin studio. The docs are not up to date.
You can either start a new solution (multiplatform single view app) and add the Cocosharp nuget (to all projects) or take an example project and change that.