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」/重建