Question

I would like to share 2 folders of content ('stylesheets' and 'graphics') between multiple asp.net projects in a solution.

Is there a way to do this and have studio display the graphics and such appropriately at design time?

Was it helpful?

Solution

I looked into this deeply a while back and found no great solution right there in Visual Studio.NET. What I ended up doing was using my source control system to share the folders.

I used Subversion Externals to share to multiple working copies, from a single source in Subversion.

http://svnbook.red-bean.com/en/1.1/ch07s04.html

I know there's a similar sharing concept in Source Safe and likely other source control systems as well.

OTHER TIPS

I haven't tried this, but I believe if you make it a virtual folder in IIS for both websites, it will appear properly in VS (Of course, this means using IIS instead of the internal VS webserver).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top