Visual Studio I don't like you GRRRR
-
I have been battling some random crashes from VS2010 whenever I built my application. If I were to reopen the VS and click run it works just fine and my application would work as expected. Not sure where this crashing was coming from. My first thought was that my references were not probably established. After re-referencing all my dlls started this slippery slope. VS started asking me to do things I didn't need to do before. For instance, it now required that my application have a Strong Name (Click Once the culprit maybe?). Fine, I fixed everything it asked of me. Built successfully and once I ran it I received an out of memory exception. Huh? Yup, my program all of sudden needs 4gb of ram. As soon it receives then it lets it all go and stays content at 20mb. This never happened before. And this is were things get better (sarcastic). The next wonderful error I receive is for database by saying "Data source name is not found and no default driver specified." I thought ok this is not that bad something went wrong somewhere. Checked the drivers and they are... there? Ok ran separate app that I have been testing that use these same drivers. Works flawlessly! Next line of thinking is my DB Library that I built must have something incorrect in it. So I reopened this test DB app to test this library out by referencing it and guess what it works flawlessly. No problems. So at this point I thought why not just copy and paste all my files into a newly created project and see if that works. Once all the references were established. My app works fine no problems. No code changes what so ever. Oh and my app runs a bit faster because it doesn't need 4gb of ram all of a sudden. I am so beyond frustrated. This makes no sense to me. :mad: Sorry really needed to vent this. Thinking about taking a long lunch break to cool down.
-
I have been battling some random crashes from VS2010 whenever I built my application. If I were to reopen the VS and click run it works just fine and my application would work as expected. Not sure where this crashing was coming from. My first thought was that my references were not probably established. After re-referencing all my dlls started this slippery slope. VS started asking me to do things I didn't need to do before. For instance, it now required that my application have a Strong Name (Click Once the culprit maybe?). Fine, I fixed everything it asked of me. Built successfully and once I ran it I received an out of memory exception. Huh? Yup, my program all of sudden needs 4gb of ram. As soon it receives then it lets it all go and stays content at 20mb. This never happened before. And this is were things get better (sarcastic). The next wonderful error I receive is for database by saying "Data source name is not found and no default driver specified." I thought ok this is not that bad something went wrong somewhere. Checked the drivers and they are... there? Ok ran separate app that I have been testing that use these same drivers. Works flawlessly! Next line of thinking is my DB Library that I built must have something incorrect in it. So I reopened this test DB app to test this library out by referencing it and guess what it works flawlessly. No problems. So at this point I thought why not just copy and paste all my files into a newly created project and see if that works. Once all the references were established. My app works fine no problems. No code changes what so ever. Oh and my app runs a bit faster because it doesn't need 4gb of ram all of a sudden. I am so beyond frustrated. This makes no sense to me. :mad: Sorry really needed to vent this. Thinking about taking a long lunch break to cool down.
Clark Kent123 wrote:
This makes no sense to me
You expected MS to make sense? :omg: Don't panic, I have similar problems from time to time - VS suddenly refuses to admit I have any controls on a form, but doesn't actually complain when you compile, or suddenly decides that it can't display a UserControl at all until I remove all the using statements, recompile and then paste them back in. Odd, but seriously annoying as well. Generally, a close-and-restart gets it back to normal for a while! :laugh:
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water