Error when trying to debug in Visual Studio 2010
-
Wednesday, December 28, 2011 10:07 PMI wrote a program out of the programming in Visual Basic 2010. When I went to debug, to try out the program, I got an red x error saying that "Error while trying to run project: Could not load file or assembly "R 'n R--For Reading and Refreshment" or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047). So I am not sure what is going on here, but could use some help.
All Replies
-
Wednesday, December 28, 2011 10:17 PM
Probably the answer of
Error Message when I try and debug
http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/f058d8de-1b5c-41ab-a835-6263f7393a4e
could solve your problem.With kind regards
- Proposed As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Tuesday, January 03, 2012 9:31 AM
- Unproposed As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Wednesday, January 04, 2012 2:57 AM
-
Tuesday, January 03, 2012 9:30 AMModerator
Hi Rickysco,
Any update? Would you mind letting us know the result of the suggestion?
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Rickysco Tuesday, January 03, 2012 3:00 PM
- Unmarked As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Wednesday, January 04, 2012 2:57 AM
-
Tuesday, January 03, 2012 3:03 PM
After trying a few things, I just decided to delete the program that I made. I then started with a new file and started to debug after everything that I did and it worked fine. I am not sure what cause this but I guess you need to debug the program as you go instead of writing out the whole thing. This was for Visual Studio 2010 and the program came out of the Visual Basic 2010 textbook. Thanks
Ricky Scott- Marked As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Wednesday, January 04, 2012 2:57 AM
-
Wednesday, January 04, 2012 2:57 AMModerator
Hi Ricky,
I marked your reply as the answer.
If there's any concern, please feel free to let us know.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
-
Wednesday, May 09, 2012 5:20 PM
I had the same problem and found out that when you name the project and any forms you need to leave out the symbols ',"() anything like this you can use the hyphens though. Hope this helps

