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.
我最近升级了 asp.net (framework 2.0) 项目以放入一个新的框架;4.0。我是否必须再次部署整个站点以捕获它指向新框架,或者是否有我需要解散的特定文件。
虽然您可以在 web.config 中更改目标框架,但我建议您在进行更改后重新构建/重新部署。
<compilation debug="true" targetFramework="4.0">