C
C#17mo 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
Pobiega17mo 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
palapapaOP17mo ago
So what does Windows Desktop mean as a version? Is it .net core?
Florian Voß
Florian Voß17mo 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
palapapaOP17mo ago
I know that I mean Windows Desktop
Florian Voß
Florian Voß17mo ago
I can read I answered this I can't answer this
palapapa
palapapaOP17mo ago
Oh sorry I didn't understand why you were correcting me
SinFluxx
SinFluxx17mo 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ß17mo ago
np that makes lots of sense
palapapa
palapapaOP17mo ago
So it's .net 5 but only with wpf and winforms?
Florian Voß
Florian Voß17mo 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
palapapaOP17mo 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ß17mo ago
Florian Voß
Florian Voß17mo ago
it does
palapapa
palapapaOP17mo ago
Just saw it
Pobiega
Pobiega17mo ago
yup just scroll down one more segment
Florian Voß
Florian Voß17mo ago
cool that you're here @pobiega . Can you tell if I'm right or wrong on this statement pls?
Pobiega
Pobiega17mo ago
Well, it's not a tfm
Florian Voß
Florian Voß17mo ago
but do we have to choose -windows tfm when we choose Microsoft.NET.Sdk.WindowsDesktop sdk?
Pobiega
Pobiega17mo 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ß17mo ago
right, thats what I would think too
Want results from more Discord servers?
Add your server