Who needs classes anyway?
-
So I did an update of Visual Studio 2022 yesterday. I already noticed type-checking, and basically any kind of checking, for .cshtml files was completely :elephant:ed. But now I'm noticing I can't add a class to my project. The class template is simply missing in the add new item dialog. Basically the whole reason for Visual Studio's existence is so that we can write classes, no matter what framework you're using (WinForms, WPF, WCF, ASP...) they all use classes extensively. And now they removed that template. Luckily I can still add a tx spout file for storm topology though (I have no idea what that is) :laugh: Ah well, guess I'll just write "class Something { }" in an empty code file myself, not a really big deal if you know what you're doing. It's annoying that the default item for add new item is now a XAML file though (in a Web API project) :doh: You have to wonder how something like this could happen though :~ <Update> This only seems to be a problem for .NET Framework projects, it's still there in my .NET Core projects :~ </Update>
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
So I did an update of Visual Studio 2022 yesterday. I already noticed type-checking, and basically any kind of checking, for .cshtml files was completely :elephant:ed. But now I'm noticing I can't add a class to my project. The class template is simply missing in the add new item dialog. Basically the whole reason for Visual Studio's existence is so that we can write classes, no matter what framework you're using (WinForms, WPF, WCF, ASP...) they all use classes extensively. And now they removed that template. Luckily I can still add a tx spout file for storm topology though (I have no idea what that is) :laugh: Ah well, guess I'll just write "class Something { }" in an empty code file myself, not a really big deal if you know what you're doing. It's annoying that the default item for add new item is now a XAML file though (in a Web API project) :doh: You have to wonder how something like this could happen though :~ <Update> This only seems to be a problem for .NET Framework projects, it's still there in my .NET Core projects :~ </Update>
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
Quote:
There is a working class - strong and happy - among both rich and poor: there is an idle class - weak, wicked, and miserable - among both rich and poor.
John Ruskin
-
Quote:
There is a working class - strong and happy - among both rich and poor: there is an idle class - weak, wicked, and miserable - among both rich and poor.
John Ruskin
Quote:
Visual Studio has no class.
Sander Rossel
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
So I did an update of Visual Studio 2022 yesterday. I already noticed type-checking, and basically any kind of checking, for .cshtml files was completely :elephant:ed. But now I'm noticing I can't add a class to my project. The class template is simply missing in the add new item dialog. Basically the whole reason for Visual Studio's existence is so that we can write classes, no matter what framework you're using (WinForms, WPF, WCF, ASP...) they all use classes extensively. And now they removed that template. Luckily I can still add a tx spout file for storm topology though (I have no idea what that is) :laugh: Ah well, guess I'll just write "class Something { }" in an empty code file myself, not a really big deal if you know what you're doing. It's annoying that the default item for add new item is now a XAML file though (in a Web API project) :doh: You have to wonder how something like this could happen though :~ <Update> This only seems to be a problem for .NET Framework projects, it's still there in my .NET Core projects :~ </Update>
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
Apparently I do. I thought that said “Who needs glasses?”
If you can't laugh at yourself - ask me and I will do it for you.
I'll raise my glass to that :beer:
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
Apparently I do. I thought that said “Who needs glasses?”
If you can't laugh at yourself - ask me and I will do it for you.
You weren't the only one :-O
// TODO: Insert something here
Top ten reasons why I'm lazy 1.