9

I fucking hate Visual Studio!

Don't get me wrong, from time to time I actually enjoy it but not today.
It all went south when I tried to add a new handler to an fucking old asp.net webpage. I had the access the 'Range' headed to stream bits of audio and video files to the client. It was working absolutely fine for the first hour and a half, after that point the fun started...
VS decided that my source code and the binaries won't match anymore. Everytime I tried to add a fucking breakpoint or debug this cunt of an error it would just refuse
The worst part that made me go apeshit was when I finally got a breakpoint and the exception. Some unknown fucking system dll just kept on killing my thread without a proper error message because it's optimized to the fucking moon and back!

Any ideas from the devs here on what's going on and how the fuck I can fix this?

Comments
  • 0
    Best thing to do is clear the binary outputs of your solution and force a rebuild. Close the IDE and do a simple

    ls . -Recurse -Directory -Include bin, obj | rm -Force -Recurse

    from PowerShell. Reopen the IDE and hopefully everything will be OK after a solution rebuild
  • 0
    @IceFreak2000 That's what I usually do. The problem is, that those old asp.net webpages only have a bin folder und that is only used for all dependencies. It's basically a glorified webpage with c# :(

    I hate it.
  • 0
    Wow, that's a blast from the dark ages - I'd forgotten about projects like that! You have my sympathies
  • 0
    delete bin + obj folders then the asp.net temp files folder.
  • 1
    The only solution to this issue, hope it helps:

    https://visualstudio.microsoft.com/...
  • 0
    Shit like this is what I mean when I rant about technical debt.

    When something goes wrong it's hard to grok where the fuck it went sideways.
Add Comment