当我试图通过ant.I构建项目时,我在以下声明之后出现了异常:例外情况:
error MSB4062: The "MSBuild.Community.Tasks.Version" task could not be loaded from the assembly \MSBuild.Community.Tasks.dll)). Could not lo
loaded from the assembly C:\inetpub\wwwroot\websites\dnndev.me\DesktopModules\Module Example\\packages\MSBuildTasksfile or assembly 'file:///C:\inetpub\wwwroot\websites\dnndev.me\DesktopModules\Module Example\packages\MSBuildTasks
我将使用<UsingTask>元素,其中参数是NAnt.Core NuGet包的路径。整个代码如下所示:
<UsingTask TaskName="Attrib" AssemblyFile="C:\Users\UserName\.nuget\packages\nant.core\0.92.0无论如何,当我试图编译应用程序时,我得到了以下错误:The "Attrib" task could not be loaded from the assembly C:\Users\Us
我有一个nuget包,它依赖于其他几个包(例如Newtonsoft.Json)。,CustomBuildAction.targets是从csproj正确引用的,但是当我试图运行build时,我得到一个错误:
无法从程序集"path to dll/CustomBuildAction.dll我已经将Newtonsoft.Json.dll作为包依赖项包含到nuspec文件中,nuget将其显示为依赖项,但MSBuild无法解析它。对我来说