Solved

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

Posted on 2012-04-01
5
202 Views
Last Modified: 2012-08-14
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!
0
Comment
Question by:EffinGood
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Daniel Van Der Werken
ID: 37794007
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.
0
 

Author Comment

by:EffinGood
ID: 37794010
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!
0
 
LVL 21

Expert Comment

by:masterpass
ID: 37794328
1. right click the solution and then
2. click on add >> add existing item
3. browse to site.master and click ok
0
 

Author Comment

by:EffinGood
ID: 37794389
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.
0
 
LVL 21

Accepted Solution

by:
masterpass earned 500 total points
ID: 37794409
check these:

1. check for any unclosed or malformed tags in masterpage

2. make sure that the content placeholder name is same in master and child

3. make sure you don't have any content above the contentplaceholder in the child

4. If the masterpages are linked then make sure, the child masterpage does not have content ouside the coltentplaceholder of the parent

hope this helps!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now