Change framework from a version to a newer one

Asked

Viewed 852 times

1

I have a project .NET(c#) created in Framework 2.0. This Solution contains 11 projects. Now I need to update everything to the Framework 4.7(most recent). What would be my procedure for this? Usage VS 2017 Community.

  • 1

    Go to the properties of each project, change the target framework, and resolve code conflicts and dependencies. But why do you need to make this migration?

1 answer

2


  1. Right-click on the Solution explorer of your project
  2. Select Properties

inserir a descrição da imagem aqui

  1. Select the App tab
  2. Change the framework destination to the framework desired

inserir a descrição da imagem aqui

Note

If your code contains references to a different version of . NET Framework you have directed, error messages may appear when you compile or run the code. To resolve these errors, you should modify the references. See Solution of . NET Framework segmentation error problems.

Source

  • This I did and is already ok, I’ll even close the question. It is that broke a lot, mainly the WCF services, in the line Servicehostfactory. But it’s another question.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.