尝试在appharbor上启动我的项目,但此操作失败:
Trying to launch my project on appharbor and it fails with this:
"D:\ temp \ cijsrn4n.1kq \ input \ TinyBlogMvc4.sln"(默认目标) (1)-> "D:\ temp \ cijsrn4n.1kq \ input \ TinyBlogMvc4 \ TinyBlogMvc4.csproj"(默认 目标)(2)->(_CopyWebApplicationLegacy目标)-> C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v10.0 \ WebApplica tions \ Microsoft.WebApplication.targets(178,5):错误MSB3021:无法 将文件"obj \ Debug \ build.force" 复制到"D:\ temp \ cijsrn4n". 1kq \ output_PublishedWebsites \ TinyBlogMvc4 \ obj \ Debug \ build.force". 找不到路径"obj \ Debug \ build.force"的一部分. [D:\ temp \ cijsrn4n.1kq \ input \ TinyBlogMvc4 \ TinyBlogMvc4.csproj] C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v10.0 \ WebApplica tions \ Microsoft.WebApplication.targets(178,5):错误MSB3021:无法 复制文件 "obj \ Debug \ DesignTimeResolveAssemblyReferencesInput.cache" 至 "D:\ temp \cijsrn4n.1kq\ output_PublishedWebsites \ TinyBlogMvc4 \ obj \ Debug \ DesignTimeResolveAssemblyReferencesInput.cache".找不到 路径的一部分 'obj \ Debug \ DesignTimeResolveAssemblyReferencesInput.cache'. [D:\ temp \ cijsrn4n. 1kq \ input \ TinyBlogMvc4 \ TinyBlogMvc4.csproj]
"D:\temp\cijsrn4n.1kq\input\TinyBlogMvc4.sln" (default target) (1) -> "D:\temp\cijsrn4n.1kq\input\TinyBlogMvc4\TinyBlogMvc4.csproj" (default target) (2) -> (_CopyWebApplicationLegacy target) -> C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplica tions\Microsoft.WebApplication.targets(178,5): error MSB3021: Unable to copy file "obj\Debug\build.force" to "D:\temp\cijsrn4n. 1kq\output_PublishedWebsites\TinyBlogMvc4\obj\Debug\build.force". Could not find a part of the path 'obj\Debug\build.force'. [D:\temp\cijsrn4n.1kq\input\TinyBlogMvc4\TinyBlogMvc4.csproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplica tions\Microsoft.WebApplication.targets(178,5): error MSB3021: Unable to copy file "obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache" to "D:\temp\cijsrn4n. 1kq\output_PublishedWebsites\TinyBlogMvc4\obj \Debug\DesignTimeResolveAssemblyReferencesInput.cache". Could not find a part of the path 'obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache'. [D:\temp\cijsrn4n. 1kq\input\TinyBlogMvc4\TinyBlogMvc4.csproj]
0 Warning(s) 2 Error(s)
它可以很好地建立在我的PC上,有什么主意我想念吗?
It builds on my pc just fine, any ideas what I'm missing?
.NET Framework版本为4.0
.NET Framework version is 4.0
推荐答案我从头开始创建了项目,然后进行了比较并发现了这一点:
I've created project from scratch and then compared and found this:
<Content Include="obj\Debug\build.force" />
它在那里的样子,不知道,但这就是原因.
How it appeared there, have no idea, but that was the reason.
更多推荐
Appharbor无法发布ASP.NET MVC 4应用程序
发布评论