A site built in .NET 3.5 for target 4.0 when the server starts 3.5

I have an old .NET site that has been around since 1.1 days. Since I updated my VS, I also updated the target structure. Currently the site is running 3.5. I just got VS10 and he asks me to upgrade the site to 4.0. However, my (shared) server is still running 3.5, and I cannot update it. Is it safe to upgrade a site to version 4.0 while running 3.5?

+4
source share
2 answers

No, I wouldn’t think so. All of your basic assembly information in your web.config will be modified to assign versions 4.0.0.0 of the dll, not versions 3.5.0.0. As a result, you will generate many missing build error messages. PS - VS2010 should request only once ...

+4
source

No, it is not safe for you to update your website.

When I upgraded to VS10, I forgot to upgrade my server. It showed errors about unknown tags that VS10 adds during the upgrade process, which I think is just the beginning.

+3
source

Source: https://habr.com/ru/post/1315285/


All Articles