Umberto Gotti
Umberto Gotti

Reputation: 43

Unable to build a freshly created Xamarin Cross-Platform project with MsBuild

Here the repro steps:

Anything missing in the .csproj files I am supposed to add?

Thanks in advance for your support.

Upvotes: 1

Views: 319

Answers (1)

Martin Ullrich
Martin Ullrich

Reputation: 100811

Make sure that you use the path to msbuild.exe that is installed with Visual Studio. Use the Developer Command Prompt for Visual Studio 2017 if unsure, it has the PATH set up so that msbuild will point to the right executable.

This error happy when you use an old version of MSBuild (e.g. the version included in .NET Framework) that doesn't support the necessary features - metadata as attributes in this case.

Upvotes: 1

Related Questions