开发者

A site built in .NET 3.5 to target 4.0, when server runs 3.5

I have a legacy .NET site that has been around since the 1.1 days. As I've upgraded my VS, I开发者_运维百科've upgraded the target framework as well. Currently the site is running 3.5. I just got VS10 and it is asking me to upgrade the site to 4.0. However, my (shared) server is still running 3.5 and I can't upgrade it. Is it safe to upgrade the site to 4.0 while the server running it is 3.5?


No, I wouldn't think so. All of your basic assembly information in your web.config will be changed to target the 4.0.0.0 versions of dll's and not the 3.5.0.0 versions. As a result, you will generate a lot of missing assembly error messages. PS - VS2010 should only prompt you once...


No its not safe for you to upgrade, your website wont run.

When i upgraded to VS10 i forgot to upgrade my server. It was showing errors about the unknown tags VS10 adds during the upgrade process, which i imagine is just the start.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜