Skip to main content
All CollectionsBuildXamarin
My Xamarin.iOS builds build from solution file (.sln) instead of project file (.csproj)
My Xamarin.iOS builds build from solution file (.sln) instead of project file (.csproj)
Jihye E avatar
Written by Jihye E
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?