Skip to main content

My Xamarin.iOS builds build from solution file (.sln) instead of project file (.csproj)

L
Written by Lukas Cenovsky
Updated over 5 years ago

When your Xamarin.iOS builds run from solution file (.sln), there are several things you might want to check.ย 

You should ensure Android and UWP projects are disabled in your code for build configurations that are intended for iOS builds. Go into the solution's configuration mappings, and for all mappings that target iPhone and iPhoneSimulator, uncheck all the projects that target different platforms. This will ensure when the .sln begins building, it will not attempt to build other projects.ย 

Did this answer your question?