|
|
|
|
|
by pastage
248 days ago
|
|
Any project written in a language with big user base java, C#, C++, perl, rust even fortran has this problem. The only thing that helps is experience with the language. I very seldom see code that survives ten years, even no deps things fail because your compiler interpreter changes. It is just part of the job. Sure I am not a big fan of C# or PowerShell but a big part is just that I have no experience. |
|
.Net was designed deliberately so that multiple versions could be installed side by side and an executable would pick the version most likely to work based on target version and compatibility. In most cases .Net is also forward compatible so e.g. a .Net 3 app continues to work on a PC where only .Net 4.8 is installed. In addition, libraries could be part of the application installation and in modern .Net, the framework can be part of the application installation.
In most cases, everything will just work, and when it doesn’t, one can just install the older .Net version needed and nothing will be broken.