I developed a Sitecore Control in its own separate Visual Studio Project. In order for it to work, it needs (among other things) to have some of its files copied to the Startup Project.
I have been told to look at post-build events and xcopy, but none of the macros usable by default seems to do what I need.
Question 1: How do I copy an arbitrary group of files to the Startup Project (preserving folder structure) upon build?
Furthermore, I added a package with the Core database items my module needs in the project repo; Sure, I have built a Sitecore Package with everything ready, but I would like to make the source available as well. Thus,
Question 2: is there a better way to organize and share a developed Module other than a VS Project?
EDIT: to be more clear, my Control requires adding files under the /sitecore/shell folder. As I change them during development, I should copy them manually to the web root, so I'd rather have this done automatically.