0

我想编译一个使用MSBuild,其他Web项目作为子文件夹的Web项目解决方案,并且无法解决问题:无法编译与MSBuild的子网站项目的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中创建了一个站点,并为所有也是Web项目的子文件夹创建了虚拟目录,并且它现在在VS2010中编译,但仍使用MSBuild获取此项目(aspnet_compiler.exe)。

有没有一种方法,我可以看到这是如何在VS的作品,所以我可以使用该命令行?

回答

0

呵呵,seems你可以用VS做重建使用devenv.com:

“C:\ progfiles \ msvs10 \ common7 \ IDE \ devenv.com” “SolutionFile.sln”/重建