Well as the title says i have 2 web projects that have the same css files, master page and some resource files, how could i share those? atm i have 2 copies of them...
Solution 1: bind them into separate assemblies in share it across your projects.
Reference:
In the second project choose "Add existing file", select the file, click on the arrow on the add button and select "add as link".
Here is an article that describes how to share pages and user controls between applications : HOW TO: Share ASP.NET Pages and User Controls Between Applications by Using Visual Basic .NET. It's solution depends on separate virtual directory that holds the shared files.
And in this article Scott Guthrie describes how to build reusable web assemblies. It's solution depends on making separate assembly by shared files.
Since I cannot vote or comment, I would like to know what the final answer is.
Navin's link http://support.microsoft.com/kb/910445 appears to be a answer but that seems like way more work than what should be required for referencing some files in different projects within the same solution. I tried "In the second project choose "Add existing file", select the file, click on the arrow on the add button and select "add as link"." but I couldn't get that to work either. I tried copy always to the output.
So does anyone know an easy answer to this problem for sharing images, css, and js files across some projects within same solution or not in the same solution without doing the assembly method.