Solved

No project file

Posted on 2006-07-21
5
225 Views
Last Modified: 2010-04-16
I created a new web site.  It did not create a project nor sln file.  Every time I go into VS 2005, I just access it by clicking on the folder that the web site project created in the startup screen.

Now, I passed my folder onto another developer to look at something.  He passed it back to me.  I renamed the folder so that it didn't conflict with mine existing folder in wwwroot.

How do I open all the files at once like I had in my existing project without there being an sln file?  I can drag all the files into a new VS 2005 session but Solution Explorer isn't showing it in the same format such as App_Code, etc., they're all just in one level.
0
Comment
Question by:dba123
  • 3
5 Comments
 
LVL 35

Expert Comment

by:mrichmon
ID: 17154529
in VS 2005 a web site is directory based.

I am not sure you can view multiple webs without them being looked at as projects within a solution.

Depending on what you need you could have open two instances of Visual Studio.

I would imagine the end result is you only want one copy of eahc file anyway, and just want both for now to compare them correct?
0
 
LVL 1

Author Comment

by:dba123
ID: 17154664
well, I just want to be able to build it.  This is how it should look in VS 2005, this is a snapshot of my existing project before I passed it to the other developer:

http://www.webfound.net/vs2005.jpg

So , when I received the entire folder back which includes all these files, app_code folder, etc. I want to see it the same and be able to run it in a new session of VS 2005.  I tried to drag in all the files contained within the folder (app_code, all the aspx pages, .cs whatever) and solution explorer doesn't show anything, no project, nothing.  And I noticed after I dragged them in, VS 2005 only opened the web.config, and aspx pages.

see here after I tried dragging the co-worker's modified folder contents into a new session of VS 2005:

http://www.webfound.net/vs2005_drag_attempt.jpg

So I guess what I'm saying is, this is very basic, what do people usually do?  I've been so used to an .sln file because I had installed Microsoft's WEb Project Update for VS 2005 that allows you to create a New | Project | Webproject or whatever, and in my new job, we can't use that update for some reason, my boss doesn't want us to.

So with that, what's the way to open your web site if there is no project or sln?  It seems like when I first create it, VS 2005 creates a reference to it with a folder in start up that you can click on, otherwise I don't know how to open another project like that which is just a folder if it's not in the startup screen.
0
 
LVL 1

Author Comment

by:dba123
ID: 17154680
The only reason why http://www.webfound.net/vs2005.jpg looks like it does is because when I open VS 2005, I click on the main folder that contains all this (my web project folder) from the start page.  If I were to open VS 2005 and it had not contained an easy way for me to re-open it, how would you essentially do the same with no project or sln file?
0
 
LVL 24

Accepted Solution

by:
Justin_W earned 500 total points
ID: 17155614
Have you tried the "File > Open > Web Site" menu command?
0
 
LVL 1

Author Comment

by:dba123
ID: 17155868
Yea, I just figured that out!  man....  Yea, open website! duh
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 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

16 Experts available now in Live!

Get 1:1 Help Now