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. Do you like VS 2022 17.2?

Do you like VS 2022 17.2?

Scheduled Pinned Locked Moved The Lounge
visual-studioquestion
36 Posts 25 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.
  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

    You may... I hate it and hate MS... :mad:

    “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

    J Offline
    J Offline
    Jacquers
    wrote on last edited by
    #8

    Yes, so far it's working well. Any reason you don't?

    Kornfeld Eliyahu PeterK 1 Reply Last reply
    0
    • J Jacquers

      Yes, so far it's working well. Any reason you don't?

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #9

      Try to switch branch while you have an uncommitted change in any file... Visual Studio Feedback[^]

      “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      J Richard DeemingR F T 4 Replies Last reply
      0
      • R RickZeeland

        Too early to tell, only installed it a few days ago, did try a simple .NET 6 Winforms project but got into trouble when I wanted to turn off "Implicit Usings", clearly they did not anticipate someone doing that :-\ [edit] Oh, and forget trying to trim a Winforms application to reduce the exe size, that was possible in .NET 5 but not in .NET 6. So my empty Winforms app is about 160 MB :sigh:

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

        I love how VB has implicit usings for 20 years already :laugh: Well, it's not called as such, but it's the same.

        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

        T 1 Reply Last reply
        0
        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

          Try to switch branch while you have an uncommitted change in any file... Visual Studio Feedback[^]

          “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

          J Offline
          J Offline
          Jacquers
          wrote on last edited by
          #11

          I've mostly used SourceTree instead of VS, but that looks like a useful feature actually. It would be nice if it was more configurable, I can understand why you would get annoyed with not being able to change it.

          1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            Try to switch branch while you have an uncommitted change in any file... Visual Studio Feedback[^]

            “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #12

            Define the "nothing" that the previous version would do in this case? Checking out a different branch will replace all controlled files with those from the other branch. If you have uncommitted changes which you don't want to apply to the new branch, it can either throw those changes away ("discard changes" in this new dialog), or it can store them somewhere for you to reapply later ("stash changes"). I don't think I've ever tried this, so I have no idea which of those options was chosen by default in previous version of Visual Studio.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            Kornfeld Eliyahu PeterK 1 Reply Last reply
            0
            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

              You may... I hate it and hate MS... :mad:

              “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

              Greg UtasG Offline
              Greg UtasG Offline
              Greg Utas
              wrote on last edited by
              #13

              Currently on 17.1.6. I migrated from VS2017 several months ago and definitely prefer VS2022. I use GitHub, recently converted to CMake, and am working on targeting for Linux. Support for all of these things has improved considerably. Ninja compiles (C++) are ridiculously fast (~800 files in about a minute). Recently I discovered the "View" capability when looking at strings in the debugger. How long has that been around?! Probably for a decade, and I never noticed! But what a godsend when debugging the source code for template instantiations that my "compiler" (static analysis tool) has to generate. Some of the things that I don't like about VS2022 compared to VS2017: - The indent/outdent buttons for code blocks were removed. There's a way to put them back, but it's too annoying. - When I type #include "Header.h", I always have to retype the second ". Huh? - If a function defined in a header is trivial, I put the {...} on the same line, but VS inserts endlines that I have to remove. - I can't figure out how to get CMake/Ninja to do x86 compiles, so they still happen the old, slow way. - To edit an .md file in VS, you must wait until Intellisense is done, which it hardly ever is. And an .md file is none of its business! - Windows no longer allows SIGTERM and std::terminate to be caught in a release build. - There are probably other things, so I'll try to edit them into this post as I'm reminded of them. Someone might know how to overcome them.

              Robust Services Core | Software Techniques for Lemmings | Articles
              The fox knows many things, but the hedgehog knows one big thing.

              <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
              <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

              1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                Define the "nothing" that the previous version would do in this case? Checking out a different branch will replace all controlled files with those from the other branch. If you have uncommitted changes which you don't want to apply to the new branch, it can either throw those changes away ("discard changes" in this new dialog), or it can store them somewhere for you to reapply later ("stash changes"). I don't think I've ever tried this, so I have no idea which of those options was chosen by default in previous version of Visual Studio.


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #14

                Not exactly - working with git (without the VS wrap), while creating a new branch (on the local) and than switch to it, the uncommitted changes will stay uncommitted... The new branch is an exact copy of it's parent, which includes the uncommitted change - and that's what I call 'nothing'... While I can see that some can benefit from the check VS now runs, the fact that I can't turn the popup off is annoying... Plus, take in account that the check VS does is far from being complete, the current (base) branch in my case is write protected so committing to it is futile... Also the newly created branch is local so no danger of whatsoever to ruin something...

                “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                Richard DeemingR 1 Reply Last reply
                0
                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                  Try to switch branch while you have an uncommitted change in any file... Visual Studio Feedback[^]

                  “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                  F Offline
                  F Offline
                  Forogar
                  wrote on last edited by
                  #15

                  It does the same with VS2017.

                  - I would love to change the world, but they won’t give me the source code.

                  Kornfeld Eliyahu PeterK 1 Reply Last reply
                  0
                  • F Forogar

                    It does the same with VS2017.

                    - I would love to change the world, but they won’t give me the source code.

                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu Peter
                    wrote on last edited by
                    #16

                    Not for me! It is the very first time I saw it...

                    “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                    1 Reply Last reply
                    0
                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                      You may... I hate it and hate MS... :mad:

                      “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                      D Offline
                      D Offline
                      Dan Neely
                      wrote on last edited by
                      #17

                      I'm on 17.0.2 - never bothered with the incremental updates since initial install. Other than file level history/blame, I don't use the built in GIT features in VS, so your issue would have no impact on me. Not being able to set a default and only pop that when it won't work does suck though. X| Have an upvote on your issue on the MS side though.:thumbsup:

                      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                      1 Reply Last reply
                      0
                      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                        You may... I hate it and hate MS... :mad:

                        “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                        D Offline
                        D Offline
                        Daniel Pfeffer
                        wrote on last edited by
                        #18

                        I use VS mostly for C++ code, and the compiler seems to work just as well as the compiler in VS 2019, i.e. I haven't discovered any new bugs. I haven't tried the new C++20 features yet. I also haven't spotted any new bugs in the IDE. I haven't tried your particular 'git' scenario, so I can't comment.

                        Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                        1 Reply Last reply
                        0
                        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                          Not exactly - working with git (without the VS wrap), while creating a new branch (on the local) and than switch to it, the uncommitted changes will stay uncommitted... The new branch is an exact copy of it's parent, which includes the uncommitted change - and that's what I call 'nothing'... While I can see that some can benefit from the check VS now runs, the fact that I can't turn the popup off is annoying... Plus, take in account that the check VS does is far from being complete, the current (base) branch in my case is write protected so committing to it is futile... Also the newly created branch is local so no danger of whatsoever to ruin something...

                          “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                          Richard DeemingR Offline
                          Richard DeemingR Offline
                          Richard Deeming
                          wrote on last edited by
                          #19

                          So the "bring the changes to..." option from the new dialog, which appears to be selected by default? I can see how you might be slightly annoyed that you can't configure a default action and suppress the dialog. But it's hardly an "unable to use this version"-level bug. :)


                          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                          Kornfeld Eliyahu PeterK 1 Reply Last reply
                          0
                          • Richard DeemingR Richard Deeming

                            So the "bring the changes to..." option from the new dialog, which appears to be selected by default? I can see how you might be slightly annoyed that you can't configure a default action and suppress the dialog. But it's hardly an "unable to use this version"-level bug. :)


                            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                            Kornfeld Eliyahu PeterK Offline
                            Kornfeld Eliyahu PeterK Offline
                            Kornfeld Eliyahu Peter
                            wrote on last edited by
                            #20

                            The first option is the default - and that what I want... And I change branches like 20 times a day (on 4-5 different projects) and it is beyond annoying... I filled the "can't use" option to try to make MS to take it more seriously... because of my past experience...

                            “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                            "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                            1 Reply Last reply
                            0
                            • R RickZeeland

                              Too early to tell, only installed it a few days ago, did try a simple .NET 6 Winforms project but got into trouble when I wanted to turn off "Implicit Usings", clearly they did not anticipate someone doing that :-\ [edit] Oh, and forget trying to trim a Winforms application to reduce the exe size, that was possible in .NET 5 but not in .NET 6. So my empty Winforms app is about 160 MB :sigh:

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #21

                              RickZeeland wrote:

                              So my empty Winforms app is about 160 MB

                              What the flaming :elephant:?

                              Software Zen: delete this;

                              R 1 Reply Last reply
                              0
                              • G Gary R Wheeler

                                RickZeeland wrote:

                                So my empty Winforms app is about 160 MB

                                What the flaming :elephant:?

                                Software Zen: delete this;

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

                                Using these Publish settings: NET6_publish_single.png - Google Drive[^] The Trim option does not work for a Winforms app :sigh:

                                1 Reply Last reply
                                0
                                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                  You may... I hate it and hate MS... :mad:

                                  “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                                  M Offline
                                  M Offline
                                  Member 9167057
                                  wrote on last edited by
                                  #23

                                  The problem with hate is, it's a destructive motion after all. True, there's nothing bringing people together like the hate for a common enemy but take this hate away and you're left with shambles. Like, nazis & tree huggers marching together against COVID-19 measures may be the best friends but last time we (Germany) had nazis in power, tree huggers were among the first ones to "let go". Specifically to Visual Studio, I've seen hate so stupid, it hurts. Like that article I got in my CodeProject newsletter from a nutjob proclaiming Visual Studio is to blame why there's no decent IDEs/code editors for .NET. Like, WTF? That said, type hints for C++ in the latest VS are amazing! I'm also a huge fan of test coverage right within the text editor, but that's not new to the latest VS.

                                  1 Reply Last reply
                                  0
                                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                    You may... I hate it and hate MS... :mad:

                                    “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                                    J Offline
                                    J Offline
                                    Jonas Hammarberg
                                    wrote on last edited by
                                    #24

                                    Used to VS but I use it only for editing, compiling and debugging - everything else is run outside of VS.

                                    1 Reply Last reply
                                    0
                                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                      Do you use Git? :mad:

                                      “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                                      M Offline
                                      M Offline
                                      maze3
                                      wrote on last edited by
                                      #25

                                      Not using but I'm assuming the 2 main announces still not changed, but I'm not aware of anything big change in 17.2 that not been in since 17.0 Basic Check changes, stage, commit, merge, conflict fixing all works, unless you the smart alic coworker that shoves in squish and other headach commits. Method intelisense of when last edit and who. Blame. All functions in editor without having to load another tool. 2 issues: 1. switching branches in the git manage throws another tab. Wtf why cant you stay on the manage tab. 2. why the view single commit history have the changes files list fixed into the side by side view. The old git had all simple in the git changes menu which was a better navigation for me at least.

                                      1 Reply Last reply
                                      0
                                      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                        You may... I hate it and hate MS... :mad:

                                        “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                                        P Offline
                                        P Offline
                                        Paul Sanders the other one
                                        wrote on last edited by
                                        #26

                                        Why? I like it. Compared with Xcode (which I also use, on the Mac of course) it's in a different league. MS keep breaking Edit `n` Continue though, which means I am back on VS 2017, pro-tem.

                                        Paul Sanders. Some of my best work is in the undo buffer.

                                        1 Reply Last reply
                                        0
                                        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                          You may... I hate it and hate MS... :mad:

                                          “Real stupidity beats artificial intelligence every time.” ― Terry Pratchett, Hogfather

                                          C Offline
                                          C Offline
                                          Cpichols
                                          wrote on last edited by
                                          #27

                                          I use vscode. It's not a real ide, I guess, but it does what I want, and that is enough for me. I'm very old school about debugging anyway, and mind my own git separately. Maybe VS is like a fancy bread maker that I don't need because my KitchenAid, huge crockery bowl, and oven can do the job nicely.

                                          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