Packed xll does not work with Excel 2010

Jun 19, 2015 at 8:03 PM
The packed .xll works fine with 2013. It also works with 2010 on machines that also have 2010 installed. I can run it fine in 2010 in debug mode on a machine with just 2010. I can also run the unpacked .xll from the Release directory fine in 2010; however, when I try to run the packed addin in 2010 I get the following error:

The component '[myproject].ExcelAddIn.TaskPane' does not have a resource identified by the URI '/[myproject].ExcelAddIn;component/taskpane.xaml'

Any thoughts?
Jun 19, 2015 at 8:09 PM
What do you mean with:
"It also works with 2010 on machines that also have 2010 installed"?

Do you mean the packed .xll from the Debug directory works fine on its own?

You can attach to the Excel process before loading the packed .xll, then load the packed .xll and look for exceptions or something.
Can you get more details about the exception, and then Google for other clues?

Anyway, sounds like something relating to how you are building the .xll, rather than Excel-DNA.

Jun 19, 2015 at 9:27 PM
Sorry, that should have read "It also works with 2010 on machines that have both 2010 and 2013 installed"

I have done a fair bit of googling & found these links to be somewhat informative; however, none of the proposed solutions seems to work:

Is there anything you would suggest experimenting with regarding the build process? I did have the packing process as a post build event, but I removed it & tried to pack separately but to no avail. Similarly, I turned off code optimization but I still received the error listed above. Thanks.