MSBuild Error MSB4019 - MSBuildCommunityTasks

Tags: Technology, Errors

I came across the following error while attempting to compile a client's project using MSBuild. It took me a while to find out what I was missing.

MSBuild Error:

error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" was not found. Confirm that the path in the  declaration is correct, and that the file exists on disk.

To fix this, you need to install loresoft's msbuildtasks, which is an open-source common build task library for .net.

Add a Comment