VS2005 - load website and treat as Webapp

J

Jethro

hi guys,

working with an inherited "project" only I have no vsprog file. The
project is a web application. Is there anyway I can recreate the
project file. At present I am loading it as a website. It works, but
because it's not being treated as a webapp, it's messing my source
control up ....

thanks guys
 
C

Cowboy \(Gregory A. Beamer\)

It depends. If this is .NET 2.0, you simply open the directory as a website
(or create the website, pointed to the directory, in IIS and open it). You
can then save off the solution. There is no project file for .NET 2.0.

If 1.x, you are better to create a new web site and import existing file on
each of the files. Either than or create your own project file in an XML
editor. I do not recommend the later approach.
 
J

John Saunders

Cowboy (Gregory A. Beamer) said:
It depends. If this is .NET 2.0, you simply open the directory as a
website (or create the website, pointed to the directory, in IIS and open
it). You can then save off the solution. There is no project file for .NET
2.0.

If 1.x, you are better to create a new web site and import existing file
on each of the files. Either than or create your own project file in an
XML editor. I do not recommend the later approach.

I'm sure that what Gregory means is that VS2005 SP1 provides two ways to
create an ASP.NET application: the original Web Application Project, created
by using File->New Project, and a Web Site, created by using File->New Web
Site. A Web Site is not a project and has no project file. That is one of
many reasons why I recommend against them in most cases.
 
C

Cowboy \(Gregory A. Beamer\)

In general, either works if you publish, but I tend to gravitate to projects
rather than sites, as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top