Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NETFX4.0 -> .NETFX48 target framework #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maximilien-noal
Copy link

@maximilien-noal maximilien-noal commented Nov 10, 2023

Reason: Visual Studio 2022 dropped support for .NET Framework 4.0 and older.

Furthermore, .NET Framework 4.0 isn't compatible with .NET Standard, which a lot of 3rd party libs available on Nuget require. For .NET Framework, this requires at least .NET Framework v4.6.1.

The Runtime used by Windows when running the app is the current .NET Framework v4, which is usually NET Framework v4.8 anyway. Any later versions of .NET Framework v4 is used to run .NET Framework 4.0 apps.

As for app requirements, .NET Framework 4.8 is shipped with Windows since the Windows 10 May 2019 update.

Finally, the binaries produced by the compiler when targeting .NETFX4.8 should be identical as when target .NETFX4.0 (same MSIL)

Process: All the changes where generated by Visual Studio, which has asked for and done the .NETFX 4.8 migration itself.

Other details: The .NET Framework 4.0 Client Profile (a lighter runtime, essentially for thick client apps only) was dropped in later releases on the .NET Framework, this is why any reference to it is removed.
Also, the 'Prefer32Bit' was presumably removed because nowadays the x86_64 platform is everywhere.

Reason: Visual Studio 2022 dropped supported for .NET Framework 4.0 and
odler.

Furthermore, .NET Framework 4.0 isn't compatible with .NET Standard,
which a lot of 3rd party libs available on Nuget require. For .NET
Framework, this requires at least .NET Framework v4.6.1.

The Runtime used by Windows when running the app is the latest .NET Framework v4
installed, which is usually NET Framework v4.8 anyway. Any later
versions of .NET Framework v4 is binary compatible with .NET Framework
4.0 apps.

As for app requirements, .NET Framework 4.8 is a part of Windows since
the Windows 10 May 2019 update.

Finally, the binaries produced by the compiler when targeting the
.NETFX4.8 should be identical as when target .NETFX4.0 (same MSIL)

Signed-off-by: Maximilien Noal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant