-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
.net 8.0 #36
Comments
Hi @mexmer, Thanks for the question. I like .NET 8 a lot, but I wasn't planning on doing this. Summary: nothing wrong with it, it is feasible, I just don't see a benefit, so it would be a bit of work for no gain. Here are the reasons I think this:
However, if there is a specific reason to target a .NET runtime like 6 or 8, I would consider multitargeting this project and providing separate downloads for both .NET Framework 4.8 and .NET 8. I won't be removing the .NET Framework build for backwards compatibility with existing installations, and because zero prerequisites is always helpful. Let me know if there is a feature of the .NET 8 runtime that you are missing in this project. |
Thanks for answers. Indeed most of you mentioned makes sense. Only problem with .NET framework i see, it is not pre installed (unless we talking .NET 2.0, but your app needs 4.8) ... here your assumption is wrong, it's optional component, you need download and install and requires computer restart (just did that few days ago, on windows 2016 .NET 4 feature installs only 4.6 and 2019 server .NET features is version 4.7) since i'm writing services for windows server in .NET LTS (now 8, before 6), i'm somewhat familiar with it's downsides too. Anyways i was just curious, why project stays on .NET Framework, thanks for answers. |
Oh yeah I forgot that Server 2016 only starts with .NET Framework 4.6.2 instead of 4.8 before updates. I think I was getting it confused with Windows 10 which has a shorter support lifecycle than Server. I could have sworn it was preinstalled and didn't require a restart. Are you referring to Server Core/Nano/no-Desktop-Experience? I will have to test this out in a VM to refresh my memory. I don't remember having to install it in either of my server machines, otherwise how would PowerShell work? Thanks! |
.NET Framework 4.7.2 was preinstalled in Server 2019 Desktop Experience, and installing the 4.8 update did require a restart. I must have gotten that via Windows Update before attempting to run this program on my real servers. Thanks again, I know a little bit more about this now. |
FYI feature is automatically installed, if you go with "Desktop Experience" setup (this is available for standard, and datacenter edition) or install Windows Server Essentials Edition, because MMC modules are written in .NET Framework. But will still require update, unless you installing Windows Server 2022 |
You are right, i forgot about powershell. so yes, core is installed, and for your service it would be enough, except it targets 4.8 |
…ll it on RTM Windows Server 2019 without updating to 4.8, which requires a restart that may be annoying to do for a server
Hi, just wanted to ask, if you plan to switch to new .NET (8.0 is now LTS) instead of .NET framework.
The text was updated successfully, but these errors were encountered: