Answered by:
Resource not found for VS addin projects

Question
-
ArgumentException crossed a native/managed boundary. Microsoft.VisualStudio.CommonIDE.ResourceLoader.GetString
"Cannot find the requested resource."
I've tried to create a several different Addin's and VSIX projects both with and without the experimental IDE. All give me this error when trying to debug. These were all projects created from the templates without being modified. Not sure why simple default projects wont' work.
Maybe I'm going about it the wrong way. I'd like to be able to create a simple VS extension and debug it. I have no idea what resource it's trying to load.
Any ideas how I can actually get to work on writing a VS extension?
Wednesday, April 20, 2011 5:04 PM
Answers
-
Sounds like you have 'Break when an exception crosses AppDomain or managed/native boundaries' set in your Debug->Options and VS is, well behaving like it should when that setting is toggled on. I believe it is off by default.
Ryan
- Proposed as answer by Ryan MoldenMicrosoft employee Wednesday, April 20, 2011 11:53 PM
- Marked as answer by JonSlaughter Thursday, April 21, 2011 12:18 AM
Wednesday, April 20, 2011 11:49 PM
All replies
-
It seems you can continue past the errors and eventually get to the debugger. Not pretty but at least I can debug.
Wednesday, April 20, 2011 7:57 PM -
Sounds like you have 'Break when an exception crosses AppDomain or managed/native boundaries' set in your Debug->Options and VS is, well behaving like it should when that setting is toggled on. I believe it is off by default.
Ryan
- Proposed as answer by Ryan MoldenMicrosoft employee Wednesday, April 20, 2011 11:53 PM
- Marked as answer by JonSlaughter Thursday, April 21, 2011 12:18 AM
Wednesday, April 20, 2011 11:49 PM -
Thanks, that seemed to be it.
Thursday, April 21, 2011 12:18 AM -
Thank you very much. Was driving me crazy too!
Cheers, Karl - http://karlshifflett.wordpress.com/
Friday, March 29, 2013 3:19 PM