Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 msbuild 扩展包(版本 3.5)来创建网站(在 IIS 版本 6、Windows 2003 上)。
我正在尝试将网站配置为使用 .net 框架版本 4.0(而不是默认的 2.0 版本)。
当我使用 IIS 管理包执行此操作时,我选择虚拟目录的属性,转到“asp.net 框架”选项卡,然后选择版本 4.0。
如何使用 msbuild 扩展包中的任务进行配置?
在服务器上安装所需版本的 .net 并注册版本
看这里
为您的应用程序创建一个新的应用程序池并将其分配给您在 IIS 中的应用程序