4

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?

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

A similar link (svnbook.red-bean.com/en/1.5/svn.advanced.externals.html) to the latest version(1.5) of svnbook suggests that externals now supports relative pathing...
1

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.