I have a silverlight project arranged as follows:
You can work around this by adding your files to XapFilesInputCollection
in an AfterCompile
target of your Silverlight project. Note however that including a bin folder directly in the project may result with an access denied error when compiling in Visual Studio.
<Target Name="AfterCompile">
<ItemGroup>
<XapFilesInputCollection Include="$(SolutionDir)Examples\Silverlight\Bin\$(Configuration)\ExampleCode"/>
</ItemGroup>
</Target>