Link to home
Start Free TrialLog in
Avatar of EffinGood
EffinGoodFlag for United States of America

asked on

How do I add an existing web project to a web site in Visual Web Developer Express (2010)?

I am new at asp.net development and have built a simple website in VWDE 2010. I have a co-worker who built a web project that I'd like to add to my website.

How is this done? I have added it, but I don't know how to get the master page hooked up so it has the same look and feel. Am I missing something here?

Basically, in the end, I want one person who handles the development of the web site, while another builds specialized apps that can be folded in to the website as they are completed.

Help! :) Thank you!
Avatar of Daniel Van Der Werken
Daniel Van Der Werken
Flag of United States of America image

Right click on the solution in the Solution Explorer window and select Add -> Existing Project. Then, browse to where the other project file is located and click on it to add it.
Avatar of EffinGood

ASKER

Hi Dan,

I did manage to get that far. :)

How do I reference the site master file like I do in my other web site files?

MasterPageFile="~/Site.master"  does not work, it gives me a resource cannot be found error.

Thank you!
1. right click the solution and then
2. click on add >> add existing item
3. browse to site.master and click ok
Hi Masterpass,

I did what you suggested. Thank you. I get this error:

Content controls have to be top-level controls in a content page or a nested master page that references a master page.


I must be arranging this all wrong. I am going to ask a broader architecture type question and see if I am doing this right/wrong.
ASKER CERTIFIED SOLUTION
Avatar of masterpass
masterpass
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial