visual studio for Mac solution error - visual-studio

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

Related

Update Fails Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.3.0 Preview 5.0 to 6.0

I am having a problem updating the version mentioned above of the visual studio with the below error message displayed:
Visual Studio Installer Sorry, something went wrong Error: Visual
Studio Installer The dependent package of
Microsoft.VisualStudio.Product.Enterprise,version=17.3.32721.290,chip=x64,
productarch=x64' cannot be found:
Component.05D8FE2B-55EC-4A28-8865-C2570F30A1C9, version=2.0.
I've encountered problems with updating Live Share Extension after successfully updating to 17.3.0 Preview 5.0.
Now I am stuck and looking forward to availing of the community lead!
I had also an issue with updating VS2022.
This helped for me:
Download a new copy of the VisualStudioSetup.exe: https://visualstudio.microsoft.com/downloads/
Start the VisualStudioSetup.exe and update

The imported project "Xamarin.iOS.CSharp.targets" was not found error - Visual Studio 7 - Mac

I am working on a Xamarin.Forms project with Visual Studio 2017 Professional with Windows machine. Also, I am using a Mac to build and run the iOS app by pairing the Mac with VS 2017. Sometimes Visual Studio on Mac is also used to build and run the app for both iOS and Android platforms of the same project and Macbook had Visual Studio 2017 for Mac.
Recently I had to restore the Macbook and reinstall the Xamarin development setup. Now the problem is if I install VS 2019 for Mac, it comes with Mono version 6.x.x and my VS 2017 on windows doesn't support that version as it always tells that there's a "Mono version mismatch" and asks to install Mono version 5.18.1, but VS 2019 for Mac does not support that version.
Then I downloaded VS 2017 for mac from the archive and did a fresh installation. After that, when I tried to pair mac with VS on Windows machine, it again notified the "Mono version mismatch" and installed mono 5.18.1. With that version, even a simple Xamarin.Forms project could not able to build on VS 2017 on Mac as it reports this error:
Getting restore information for project /Projects/Hello/Hello.iOS/Hello.iOS.csproj
/Projects/Hello/Hello.iOS/Hello.iOS.csproj(153,3) : error MSB4019: The imported project "/Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Unable to create package spec for project. /Projects/Hello/Hello.iOS/Hello.iOS.csproj
Not the best solution, but updating Visual Studio on both platforms to 2019 solved the issue.

Error: this template attempted to load component assembly 'Microsoft.VisualStudio.Universal.TemplateWizards, Version=15.0.0.0

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.

Xamarin won't install in current of Visual Studio 2015

I have tried uninstalling Xamarin, and reinstalling Visual Studio 2015, and it keeps failing.
this below
results in this
Is there anywhere I can grab that missing package directly. I have the Visual Studio installer downloading the packages from the internet. If I can install that package manually (aka, an MSI), then I believe it should be ok. Xamarin (as part of Visual Studio) won't install until this ancient SDK installs.
I also tried Xamarins' installer, but it never shows up in Visual Studio 2015, likely because of this dependency failing.
Some other things I have tried :
Common issues in Visual Studio 2015 setup
StackOverflow: Install Xamarin on Visual Studio 2015
Xamarin: Installing Xamarin on Windows
Uninstalling Xamarin
try to open the SDK Manger from your PC ( as an administrator ) and install the missing packages
Actually android sdk is failing to download, maybe because of slow or unstable internet connection or the download path which xamarin is using is available anymore.
Go to- http://www.xamarin.com/download and get a separate xamarin installer for your visual studio and install from it.
If it again don't fails to install android sdk then go to https://developer.android.com/studio/index.html and download sdk separately, remember the sdk's install path, you can configure visual studio later.

Error when creating new android project in visual studio 2012

When I created new android project in my visual studio 2012, this error came out. I already re installed my xamarin.android but still I'am getting this error. How could I fix this?
I already solved my problem I just uninstalled the xamarin.android and visual studio 2012 then reinstalled it

Resources