I am trying to make the release of module named "DNNModule1" on DotNetNuke Project Template, I am using iis7, Windows-7 and dnn7. First I select "Debug" from dropdown and click on "Build DNNModule1" under Build tab and I got an error below:
"Error 2 The "MSBuild.Community.Tasks.XmlRead" task could not be loaded from the assembly C:\DNN\dnndev.me\DesktopModules\DNNModule1\\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll. Could not load file or assembly 'file:///C:\DNN\dnndev.me\DesktopModules\DNNModule1\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> 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. DNNModule1"
And also I am truing to make release of module "DNNModule1" without fix above error but the installer of module would not be created. So how to fix above error and is it possible to make release without solving above error. Kidly suggest me. Waiting for reply. Thanks.
Comments: ** Comment from web user: PatrickF **
"Error 2 The "MSBuild.Community.Tasks.XmlRead" task could not be loaded from the assembly C:\DNN\dnndev.me\DesktopModules\DNNModule1\\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll. Could not load file or assembly 'file:///C:\DNN\dnndev.me\DesktopModules\DNNModule1\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> 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. DNNModule1"
And also I am truing to make release of module "DNNModule1" without fix above error but the installer of module would not be created. So how to fix above error and is it possible to make release without solving above error. Kidly suggest me. Waiting for reply. Thanks.
Comments: ** Comment from web user: PatrickF **
Note that the current version that nugget finds is (27 Nov 2014) is 1.4.0.78.
When I edited the version in the MSBuild.Community.Tasks.Targets file, the release built without errors.