asp.net - appharbor 在推送后编译时出错

标签 asp.net compilation compiler-errors appharbor

我从 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 - 有人见过这个吗?

最佳答案

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

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

关于asp.net - appharbor 在推送后编译时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10837070/

相关文章:

c# - 创建缩略图会产生质量很差的图像

asp.net - IIS7.0中如何使静态Html页面通过HttpModule?

java - 使用javac编译时出现公共(public)类错误

c++ - 尝试在 Linux 上使用 Borland header 时出现 undefined reference

java - 更新 2D Java 数组中的对象

c# - 如何在 Entity Framework 中使用继承类的字段

asp.net - 选择 Azure 服务

java - Eclipse 资源管理器中缺少小红色 "x"以及具有编译错误的 Java 源代码问题 View ?

syntax - 有没有办法以编程方式测试编译 Raku 代码?

c++ - 编译器不会提示函数没有返回值