I create a new project, click compile, and get this error:
Build Failed. See the build log for details.
In the build log there i
I downloaded and installed the packages shown below in the order listed:
I got the same error when trying to build. Without having noticed I had been logged out of my account, which caused the error. Curious that I wasn't prompted to relog or given information that I wasn't logged in.
cd
into the project path, and hit msbuild
on it.
You will then see the error details in the console STDOUT.
I had the same problem after upgrading Xamarin, and in my case it happened even for a x86/desktop Console Application. Turned out to be because I didn't have 4.5.1, which was required by the newer version (I had only 4.5 I think).
I found this entry in the log:
Unregistered TargetFramework '.NETFramework,Version=v4.5.1' is being requested from SystemAssemblyService, returning empty TargetFramework
After googing this error I found https://stackoverflow.com/a/38102386/492336, and the solution was to download .NET 4.5.1 and it worked after that!
I just ran into the same problem using Visual Studio Community for Mac. The system was out of disk space. Freeing up some disk allowed a build to complete successfully.
That means that there was an internal error - most likely Xamarin Studio could not connect to the build engine process, or the build engine process crashed. Please check the logs from Help->Open Log Directory, there should be a more complete error trace in there