Sunday, December 29, 2013

Xamarin Studio: F# project does not work with message "Build failed. MSBuild operation failed"

Followed installation instruction from to install F# using option #2. Installation was not smooth (could be because of my internet connection). Retried several times with few workarounds (delete corrupted files, install files manually, etc).

Tried to create a new F# project with all default values, running it failed with the message

Build failed. MSBuild operation failed
Build: 1 error, 0 warnings

Took me several days (tried several minutes a day to check logs, tweak settings, etc). Finally found a workaround. In Project | [project] Options | Main Settings, ensure that "Use MSBuild build engine (recommended for this project type) is unchecked.

Xamarin Studio
Windows 8.1


Anonymous said...

Thanks, that was exactly the problem I encountered too when trying F# on Xamarin.

Anonymous said...

Thanks, saved me a lot of frustration.