我正在尝试使用MSBuild编译一个web项目解决方案,它将其他web项目作为子文件夹,无法解决这个问题:
ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.我已经在IIS中创建了一个站点,并为所有子文件夹创建了虚拟目录(正如它所建议的那样),现在它可以在VS2010中编译,但在使用MSBuild ( aspnet_compiler.exe)时仍然可以在根项目中使用它。
有没有一种方法可以让我在VS中看到这是如何工作的,这样我就可以使用命令行了?
发布于 2011-09-05 22:32:24
哦,它seems你可以只使用VS来做使用devenv.com的重建:
"C:\progfiles\msvs10\common7\ide\devenv.com“"SolutionFile.sln”/Rebuild
https://stackoverflow.com/questions/7273738
复制相似问题