6
votes

With visual studio for Mac

/Users/piyushbhatt/Projects/myfmf/FMF/FMF.Web/fmf.Web.csproj(3,3): Error MSB4019: The imported project "/Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/xbuild/Microsoft/VisualStudio/v15.0/WebApplications/Microsoft.WebApplication.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. (MSB4019) (FindMeFood.Web)

3

3 Answers

7
votes

You can copy the WebApplications folder from /Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/xbuild/Microsoft/VisualStudio/v14.0 to v15.0 to fix it.

0
votes

Seems to be missing from the mono5 package. Report the bug

@https://bugzilla.xamarin.com/

I tried to copy the files manually from the 14 folder, but ended up running into other problems.