dotnet 4.5 to 4.8 upgrade

Gokul Prasadh 1 Reputation point
2022-03-29T05:29:45.753+00:00

Hi,
I have planned to upgrade my application from .net 4.5 to .net 4.8. In this link ([1]: https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/runtime/4.5-4.8) says somethings get affected. I couldn't able to get what they are saying. I'll explain my scenario My application runs on the windows server 2016 and the targeted framework is 4.5. Now I need to upgrade it and I have already done in local machine through the visual studio by changing the targeted framework in Project ->Application->Targeted Framework, then I run my application in the local machine it runs smoothly without any issue. But my local machine is different from the server. So My Question is are they saying by the time of deploying the changes it cause the problem in the server or the application won't run ?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 26,751 Reputation points Microsoft Vendor
    2022-03-29T06:33:15.997+00:00

    Hi @Gokul Prasadh ,
    The changes listed in the documentation are the parts that may affect the APIs you use after a framework upgrade.
    If you've tested that your program works fine on a local machine with .net framework 4.8 installed after upgrading the target framework, then it should also run fine on a server with .net framework 4.8 installed.
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.