I'm trying to build a Xamarin iOS app in Visual Studio App Center. The solution contains two projects. One is a Xamarin iOS project. The other is a bindings library project. The bindings library project is configured with the Allow 'unsafe' code
option.
But the Xamarin.iOS
build task in the App Center fails saying:
Unsafe code may only appear if compiling with /unsafe
I'm able to build the solution locally without any issues.
Anybody an idea?
After trying different things I switched from the .csproj file to the .sln file in the build configuration.
Can somebody verify this?