MS Build Task - Copy Embedded Resources from DLL into directory

May 12, 2010 at 5:30 AM

I would like to extract the JavaScript files from the Portable Areas DLLs into the site directory.

For some reason, I am unable to extract any Javascript files :(

The main piece that doesn't seem to work that I have seen work on this forum is this line:

<Copy SourceFiles="@(EmbeddedResource)" DestinationFolder="$(MSBuildProjectDirectory)\obj">
<Output TaskParameter="DestinationFiles" ItemName="Resources"/>

This is pretty much inline with what was posted here: