Thursday, January 17, 2008

Invalid Pipeline Component Load - Debugging

Today while working with a custom pipeline component I got the error 'You have selected an invalid pipeline component assembly. Please check security settings if you are loading it from an UNC path'. The error was creating when I was trying to add the pipeline component to the toolbox. While I saw many suggestions on the web, none solved my problem. The problem was that I had added a different resource file to the component, and the name I gave when creating the ResourceManager was wrong. But, more importantly, I discovered that by putting a System.Diagnostics.Debugger.Launch(); in the get of the Name property I was able to debug the pipeline component when loaded into the Toolbox editor.