473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

VS2005 - load website and treat as Webapp

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
Oct 14 '08 #1
4 1182
"Jethro" <je*******@hotmail.comwrote in message
news:ac**********************************@k16g2000 hsf.googlegroups.com...
Working with an inherited "project" only I have no .vsproj 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 ....
There may be "cleverer" ways of doing this but, if it were me, I'd create a
new web application and then add the existing files to it. Once you've
created the new web app project, right-click on the project name and choose
"Add existing..."
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 14 '08 #2
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.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Jethro" <je*******@hotmail.comwrote in message
news:ac**********************************@k16g2000 hsf.googlegroups.com...
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
Oct 14 '08 #3
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uz*************@TK2MSFTNGP03.phx.gbl...
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.
--
John Saunders | MVP - Connected System Developer

Oct 15 '08 #4
In general, either works if you publish, but I tend to gravitate to projects
rather than sites, as well.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"John Saunders" <no@dont.do.that.comwrote in message
news:ew**************@TK2MSFTNGP04.phx.gbl...
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:uz*************@TK2MSFTNGP03.phx.gbl...
>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.
--
John Saunders | MVP - Connected System Developer
Oct 16 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Max | last post by:
Frankly, i need session variables to persist regardless of load balancing. My hoster says save them in files, yuk. Are there any other thoughts The problem is that the session variables are lost...
2
by: Shige | last post by:
I have a .Net website hosted on another IIS6.0. Whenever I tried to access my website after a long time, it will take forever to load, my browser will just show a blank white page and the progress...
3
by: GaryDean | last post by:
I have some earlier posts about a codefile that doesn't get executed. I later found that it was because both my Page_Init and Page_Load subs were missing there Handles clauses and did not know...
10
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. ...
1
by: Brien King | last post by:
Ok, I'm converting a 1.1 ASP.NET app to 2.0 and I am using the VS2005 Web Server to debug. The problem is that when I use a relative path in my links, it generates the wrong links. if I have...
1
by: sinisa.stokic | last post by:
I would like some suggestions about a particular developer's environment problem I'm having. I have a developer who has VS2003 installed on his "primary" machine. (A descision has been made by...
8
by: jacky kwok | last post by:
Dear All: In VS2005 WebSetup installer InstallAddress dialog, there is field to let user to select which website to install the webapp (if there are more than one WebSite in the IIS). I want...
5
by: Terry Jolly | last post by:
Here's the problem/question. The goal: run asp pages with apsx pages in the same solution with VS2005 IDE I've loaded my asp pages into a new VS2005. However the asp pages would not run. So, I...
2
by: Rob Dob | last post by:
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.