C
C#2y ago
palapapa

✅ What does "Windows Desktop" as the version in ASP.NET's documentation mean?

System.Configuration Namespace
Contains the types that provide the programming model for handling configuration data.
20 Replies
Pobiega
Pobiega2y ago
You are not looking at ASP.NETs documentation, thats the general documentation for .NET thats the version selector, since some namespaces/types differ between versions or packages
palapapa
palapapaOP2y ago
So what does Windows Desktop mean as a version? Is it .net core?
Florian Voß
Florian Voß2y ago
no, .NET is .net core, microsoft removed "core" from the name in .net 5 they did I believe. so every .net 5+ version is "Core" even when it doesn't have core in its name
palapapa
palapapaOP2y ago
I know that I mean Windows Desktop
Florian Voß
Florian Voß2y ago
I can read I answered this I can't answer this
palapapa
palapapaOP2y ago
Oh sorry I didn't understand why you were correcting me
SinFluxx
SinFluxx2y ago
"The .NET Desktop SDK, which includes Windows Forms (WinForms) and Windows Presentation Foundation (WPF)." https://stackoverflow.com/questions/69621475/what-does-windows-desktop-5-mean-in-context-of-net-5
Stack Overflow
What does Windows Desktop (5) mean in context of .net 5?
I saw this link for the Registry class, which states it's for the Windows Desktop 5 "Version" of .net. I searched for what that means, but unfortunately the noise to signal ratio on such a
Florian Voß
Florian Voß2y ago
np that makes lots of sense
palapapa
palapapaOP2y ago
So it's .net 5 but only with wpf and winforms?
Florian Voß
Florian Voß2y ago
I believe so probably equivalent of using .net7-windows as targetframework or other version respectively I might be wrong still learning all this myself
palapapa
palapapaOP2y ago
Here it doesn't list .net7-windows as a valid TargetFramework value though https://learn.microsoft.com/en-us/dotnet/standard/frameworks#supported-target-frameworks
Target frameworks in SDK-style projects - .NET
Learn about target frameworks for .NET apps and libraries.
Florian Voß
Florian Voß2y ago
Florian Voß
Florian Voß2y ago
it does
palapapa
palapapaOP2y ago
Just saw it
Pobiega
Pobiega2y ago
yup just scroll down one more segment
Florian Voß
Florian Voß2y ago
cool that you're here @pobiega . Can you tell if I'm right or wrong on this statement pls?
Pobiega
Pobiega2y ago
Well, it's not a tfm
Florian Voß
Florian Voß2y ago
but do we have to choose -windows tfm when we choose Microsoft.NET.Sdk.WindowsDesktop sdk?
Pobiega
Pobiega2y ago
I've never really bothered with what those actually mean, they are just groupings of namespaces as far as I'm concerned Provably Like, Windows desktop implies windows specific code
Florian Voß
Florian Voß2y ago
right, thats what I would think too

Did you find this page helpful?