在Appharbor中构建失败 - “EnsureBindingRedirects”任务意外失败

时间:2014-12-04 00:07:34

标签: asp.net-mvc-4 asp.net-web-api2 appharbor

我一直在尝试通过bitbucket在appharbor上构建我的第一个应用程序,但构建过程失败并显示以下消息。

Build started 12/3/2014 7:22:41 PM.
     1>Project "D:\temp\n5ivm3kq.n2s\input\BuzzWiz_git.sln" on node 1 (default targets).
     1>ValidateSolutionConfiguration:
         Building solution configuration "Release|Any CPU".
       The target "MvcBuildViews" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets (839,131)" does not exist in the project, and will be ignored.
     1>Project "D:\temp\n5ivm3kq.n2s\input\BuzzWiz_git.sln" (1) is building "D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj" (2) on node 1 (default targets).
     2>PrepareForBuild:
         Creating directory "obj\Release\".
     2>D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018: The "EnsureBindingRedirects" task failed unexpectedly. [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018: System.IO.FileNotFoundException: Referenced assembly does not exist. [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018: File name: 'D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll' [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018:    at Roxel.BuildTasks.EnsureBindingRedirects.d__6.MoveNext() [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018:    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018:    at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018:    at Roxel.BuildTasks.EnsureBindingRedirects.Execute() [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
D:\temp\n5ivm3kq.n2s\input\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(97,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext() [D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj]
     2>Done Building Project "D:\temp\n5ivm3kq.n2s\input\BuzzWiz.App\BuzzWiz.App.csproj" (default targets) -- FAILED.
     1>Done Building Project "D:\temp\n5ivm3kq.n2s\input\BuzzWiz_git.sln" (default targets) -- FAILED.

Build FAILED.

我尝试了很多东西,比如在web.config中使用中性文化更新所有依赖程序集,或者在存储库中包含dll文件,甚至更改项目文件以在Import Project标记中包含Condition.Exists ,但我一直收到错误。

我错过了什么?

此致

0 个答案:

没有答案