This morning, launched Visual Studio from Unity which prompted a new Visual Studio upgrade request.
After completing, Visual Studio wouldn’t open, saying application was damaged.
Downloaded Visual Studio Code and hooked it back up to Unity in Preferences → External Tools.
Hope this helps someone ready to code on deadline today!
The same happened to me, that is why I don’t update Microsoft software.
If you open (right click → show package contents) the broken visual studio.app you will find a Visual Studio (old).app in there. Just move it out to Applications and use it instead of the broken one.
I did the Show Contents thing, pulled out the (Old) version, deleted the new one, and replaced it with the old. Then I ran it directly (not from Unity) and executed the updated from there. VS comes up now, but it doesn’t auto-open the script I clicked on.
After re-linking in Unity Preferences under External Tools, killing Unity and VS, then re-launching Unity, it now correctly open the file I clicked on.
Same happened here. It has been many years I’ve been (happily) away from Microsoft products and started using VS for Unity’s sake. Tried updating and it is broken now…
Apr 13 21:39:49 Elis-MBP Visual Studio Update[11999]: DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on _dispatch_bug_deprecated to debug
Apr 13 21:40:22 Elis-MBP Visual Studio Update[11999]: assertion failed: 18E226: libxpc.dylib + 91033 [49138829-09C8-355C-B558-97E070B84EC5]: 0x89
You can also fix this with the Unity installer – just reinstall only Visual Studio afterwards to restore it.