Muokkaa

Jaa


Migrate Office solutions to the .NET Framework 4 or later

If the target framework of an Office project is changed to the .NET Framework 4 or later from an earlier version of the .NET Framework, some additional steps might be required to continue to run the solution on development and end-user computers. For more information, see Required changes to run Office projects that you migrate to the .NET Framework 4 or the .NET Framework 4.5.

In addition, the project might no longer compile. Some features of Office projects have different programming models for different versions of the .NET Framework. When the target framework of an Office project is changed to the .NET Framework 4 or later from an earlier version of the .NET Framework, you must make the following code changes to the project: