Silverlight class library not included in .XAP

July 10, 2011 15:51

This is something I'm sure I ran into before, but it still bit me the other day. Hopefully by writing this down here it won't get me again.

The problem is this: A Silverlight class library whose name ends with ".Resources" is not included in the Silverlight .XAP file.

".Resources" is a reserved naming convention (I guess) that shouldn't be used. The solution to including such DLL's in the .XAP file is to rename it so it ends with something like ".SharedResources.dll".

Short post. Odd problem. Easy solution.

[ Follow me on Twitter ]