r/VisualStudio 9d ago

Miscellaneous doYouFeelLuckyPunk

Post image
10 Upvotes

5 comments sorted by

6

u/RatbyteGames 8d ago

I'm old enough to remember when programs didn't update every second day....

6

u/soundman32 8d ago

I think I've had literally 1 partial problem updating VS 26 and they rolled out a fix within 24 hours.  

1

u/dirkboer 8d ago

I have constantly something broken. It's just something else every time. Using it mainly for ASP.NET Core and Unity.

At the moment:

  • Hot Reload just sometimes gets into a broken state, until I delete the obj folder and restart VS.
  • Pasting fucks up completely unrelated lines even all *format on paste* settings are turned off.
  • Typing to fast breaks auto complete of html <elements> and are *also* constantly adding an extra >

Yeah I should report these issues, make a capture etc, but that takes a lot of mental load if you try to finish your stuff. I understand it's a complicated product and I still love it, but the updates scare me.

5

u/polaarbear 8d ago

Hot Reload has limited use cases that many people don't understand. You can't just hot reload any random change. Changes to method signatures, new variables, and some other things are not hot reloadable, they require recompilation. It is still buggy sometimes, you aren't wrong, but I've had coworkers complain that it won't hot reload things that are explicitly not eligible.

The HTML thing, I am assuming is in Razor script, either Blazor or CSHTML pages. The parser has to work really hard when context switching between C#, HTML, and Razor components. Pulling your code behind into its own file makes a big difference.

I have never once had a paste fuck up unrelated lines. This one is almost certainly user error, but how, I cannot say.

Updating hasn't been a "scary" thing for me since like VS2015, it very rarely causes any real issues.

I work in Unity too and in a massive enterprise ASP solution with millions of lines of code in it.

1

u/WoodyTheWorker 7d ago

A recent update also updated Git Bash, and it enabled "visual bell". The MinGW console now flashes when you do something wonky, like failing a reverse search in the command history, or pressing backspace with an empty command line. It's extremely annoying.