Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Who needs classes anyway?

Who needs classes anyway?

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptdotnetwpfcloud
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #1

    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

    R D 2 Replies Last reply
    0
    • Sander RosselS Sander Rossel

      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

      R Offline
      R Offline
      RickZeeland
      wrote on last edited by
      #2

      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

      Sander RosselS 1 Reply Last reply
      0
      • R RickZeeland

        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

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          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

          D Offline
          D Offline
          DRHuff
          wrote on last edited by
          #4

          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.

          Sander RosselS Y 2 Replies Last reply
          0
          • D DRHuff

            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.

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • D DRHuff

              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.

              Y Offline
              Y Offline
              yacCarsten
              wrote on last edited by
              #6

              You weren't the only one :-O

              // TODO: Insert something here

              Top ten reasons why I'm lazy 1.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups