After following the steps in this answer, when attempting to build a project through mono (Using msbuild), I get the following error:
(AfterCompile target) -> project.csproj(469,5): error MSB4062: The "TransformXml" task could not be loaded from the assembly /usr/lib/mono/xbuild/Microsoft/VisualStudio/v15.0/Web/Microsoft.Web.Publishing.Tasks.dll. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
It appears as if Microsoft.Web.Publishing.Tasks.dll
is unavailable.
On linux via mono, this file doesn't exist. To solve this issue, follow these steps:
With your updated nuget
Microsoft.Web.Publishing.Tasks.dll
location (Update version name inMSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3
as necessary):