I have project created in .NET 3.5 or 4 and wanted to migrate it on .NET 4.8. What is key difference between them? Also what parameter I should take care while migrating an application? I still don't have the source code but meanwhile what kind of measure I should take care?
CodePudding user response:
First of all, I suggest you to read .Net Framework 4.8 announcement.
after that read about migrating projects to .Net Framework 4.8 and pay attention to the migration resource section.
CodePudding user response:
Well, without the source code, then you can update the framework all you want, the compiled code is still going to point to, and use the older framework. So, without source code this idea is a non starter.
I have found that in most cases, the code will compile. But then again, you need the source code to compile.
So, upgrade from say 3.5 to 4.0, or 4.8? Useally VERY issue - and often zero code changes are reuqired. But then again, you would compile the code to find out if there is a issue or error in the code - and you would thus know in less then 10 seconds of your time.
But, messing around with the framework, and you don't have the original source code project and the ability to re-build that project from VS?
No, this idea makes ZERO sense without the original project and YOUR ability to re-build the project.
Since you don't have source code, then upgrading frame work not really going to help much, since existing compiled code will continue to point to the older framework anyway, and thus you not really upgrading anything at all, are you?
With souce code, the risk here is rather small. I betting that the project would compile and run by changing the project to .net 4.0, or better yet, 4.8.
you will certainly have to ensure that the web host and server has .net 4.8 installed on that server.
However, you need to be able to re-build that project from source code for this to be a workable up-grade.