2

我从 appharbor 得到这个错误:

Build started 5/31/2012 4:52:13 PM.
Project "D:\temp\woojnpbm.drx\input\wsolver.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Any CPU".
D:\temp\woojnpbm.drx\input\wsolver.sln.metaproj : warning MSB4121: The project configuration for project "wsolver" was not specified in the solution file for the solution configuration "Release|Any CPU". [D:\temp\woojnpbm.drx\input\wsolver.sln]
Project "D:\temp\woojnpbm.drx\input\wsolver.sln" (1) is building "D:\temp\woojnpbm.drx\input\wsolver.metaproj" (2) on node 1 (default targets).
Build:
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /wsolver -p ..\..\WebSites\wsolver\ -u -f D:\temp\woojnpbm.drx\output\_PublishedWebsites\wsolver\ 
ASPNETCOMPILER : error 1003: The directory 'D:\temp\WebSites\wsolver\' doesn't exist. [D:\temp\woojnpbm.drx\input\wsolver.metaproj]
Done Building Project "D:\temp\woojnpbm.drx\input\wsolver.metaproj" (default targets) -- FAILED.
Done Building Project "D:\temp\woojnpbm.drx\input\wsolver.sln" (default targets) -- FAILED.

Build FAILED.

"D:\temp\woojnpbm.drx\input\wsolver.sln" (default target) (1) ->
(ValidateProjects target) -> 
  D:\temp\woojnpbm.drx\input\wsolver.sln.metaproj : warning MSB4121: The project configuration for project "wsolver" was not specified in the solution file for the solution configuration "Release|Any CPU". [D:\temp\woojnpbm.drx\input\wsolver.sln]


"D:\temp\woojnpbm.drx\input\wsolver.sln" (default target) (1) ->
"D:\temp\woojnpbm.drx\input\wsolver.metaproj" (default target) (2) ->
(Build target) -> 
  ASPNETCOMPILER : error 1003: The directory 'D:\temp\WebSites\wsolver\' doesn't exist. [D:\temp\woojnpbm.drx\input\wsolver.metaproj]

    1 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.62

我的应用程序是 aspx.net 4.0 - 有人见过吗?

4

1 回答 1

2

您可能应该检查解决方案和项目文件中的路径。从错误中,D:\temp\WebSites\wsolver\被引用,但是当您的代码在 AppHarbor 上构建时找不到该路径。

调试此问题的一个好方法是将您的代码签出或克隆到另一台机器以检查它是否在那里构建。

于 2012-05-31T17:23:46.763 回答