VS for Mac 8.2 fails

After recent upgrade I get the following error when building. I have even tried a fresh install of Visual studio including Xamarin but it is as if it cannot find Xamarin. I have tried both sdk 2.1.701 and 2.2.401.

The path below with the "../Xamarin/" does not exist on my Mac.

/Users/morten/Documents/Zector/iApp/iApp/iApp.iOS/iApp.iOS.csproj(302,3): error MSB4019: The imported project "/usr/local/share/dotnet/sdk/2.2.401/Xamarin/iOS/Xamarin.iOS.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
/Users/morten/Documents/Zector/iApp/iApp/iApp.Android/iApp.Android.csproj(343,2): error MSB4019: The imported project "/usr/local/share/dotnet/sdk/2.2.401/Xamarin/Android/Xamarin.Android.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

Can anyone help?

Best Answer

Answers

  • mattwardmattward GBMember Xamurai

    That looks like it maybe a mismatch of versions between Mono and VS Mac. What versions do you have installed? Also do you have Xamarin.Android and Xamarin.iOS installed?

Sign In or Register to comment.