Rory Becker
Rory Becker

Reputation: 15701

How can I share a folder of content between multiple ASP.Net projects in studio?

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?

Upvotes: 4

Views: 549

Answers (2)

Jim Fiorato
Jim Fiorato

Reputation: 4872

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.

Upvotes: 2

James Curran
James Curran

Reputation: 103505

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).

Upvotes: 1

Related Questions