.net - ASPNET 编译器 : error ASPRUNTIME: Target Directory not empty

标签 .net asp.net build nant

我有一个需要使用 nant 脚本构建的 Web 应用程序。解决方案中的所有项目都可以正常构建,但每次构建结束时都会出现此错误。我找不到很多有用的信息来解决这个错误。有没有人遇到过并解决过此类问题?任何帮助将不胜感激。

[exec] ASPNETCOMPILER : error ASPRUNTIME: The target directory is not empty, and does not appear to contain a previously compiled application. Please delete it manually, or choose a different target. [C:\SRC\BorgWorld\trunk\apps\Zombies.metaproj]

最佳答案

中删除临时网站文件夹

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\

关于.net - ASPNET 编译器 : error ASPRUNTIME: Target Directory not empty,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3821797/

相关文章:

.net - 增加超时时间

c - Makefile - 如何组织和构建多个库版本

c# - 如何从 .Net/C# 调用 Schannel 函数

c# - 为什么 LINQ 方法 Any 不检查计数?

c# - asp.net core 2.0身份 Entity Framework 用户未保存

asp.net - 网站项目编译的 dll 在哪里

build - Intellij IDEA 项目中的自定义构建步骤

java - Ant 在 Java 工作区中构建 ArrayIndexOutOfBoundsException

java - 如何将 Java 后端与 .NET 前端连接

c# - 使用 Json.NET 反序列化字符串和对象的混合集合