1 year ago

#361257

test-img

Dims

How to downgrade/configure elder Mono in Visual Studio For Mac?

I am trying to build old code with Visual Studio For Mac and getting the following error:

Target XamlC:
    Compiling Xaml
    
    Assembly: obj/Debug/OxyPlot.Xamarin.Forms.dll
...
    /Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: The "XamlCTask" task failed unexpectedly.
    /Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: System.IO.FileNotFoundException: Could not find file "/Users/.../MyProject/OxyPlot/OxyPlot.Xamarin.Forms/obj/Debug/OxyPlot.Xamarin.Forms.dll.mdb"
    /Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: File name: '/Users/.../MyProject/OxyPlot/OxyPlot.Xamarin.Forms/obj/Debug/OxyPlot.Xamarin.Forms.dll.mdb'
    /Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: 
    /Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: 
    /Users/.../MyProject/packages/Xamarin.Forms.2.3.3.193/build/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20/Xamarin.Forms.targets(62,3): error MSB4018: Server stack trace: 
...

I read here, that it is possible to use elder Mono (4.8) to build project. How to do this?

xamarin

xamarin.forms

mono

visual-studio-mac

0 Answers

Your Answer

Accepted video resources