473,473 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to open an asp.net project in vs.net when no .sln is available

If I copy the directory holding an asp.net project from one workstation to
another, then how can I open the project via vs.net on the second
workstation (where there is no longer an associated .sln file pointing to
it)?

Thanks, Bruce
Nov 19 '05 #1
5 1671
Hi Bruce,

The ASP.NET webproject (for VS.NET2003 or 2002) can be opened in VS.NET
without nested in an existing solution. The important thing is to create
the correct Virtual directory to put your project files and page files on
the new box. You can open the .csproj.webinfo (or vbproj.webinfo) file
which is a hidden file , you'll find there is the url PATH info of your
asp.net project, something like:

<VisualStudioUNCWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1.csproj" />
</VisualStudioUNCWeb>

the above setting means you need to create an Virtual dir(configure as
Application) under the default site(localhost) in IIS , then put your
project files into that virtual dir. After that, you can directly click the
project file to open your web project.

If you have anything unclear, please feel free to post here. Thanks,
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #2
Got it. Thanks! -Bruce

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:3w**************@TK2MSFTNGXA01.phx.gbl...
Hi Bruce,

The ASP.NET webproject (for VS.NET2003 or 2002) can be opened in VS.NET
without nested in an existing solution. The important thing is to create
the correct Virtual directory to put your project files and page files on
the new box. You can open the .csproj.webinfo (or vbproj.webinfo) file
which is a hidden file , you'll find there is the url PATH info of your
asp.net project, something like:

<VisualStudioUNCWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1.csproj" />
</VisualStudioUNCWeb>

the above setting means you need to create an Virtual dir(configure as
Application) under the default site(localhost) in IIS , then put your
project files into that virtual dir. After that, you can directly click
the
project file to open your web project.

If you have anything unclear, please feel free to post here. Thanks,
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Nov 19 '05 #3
Got it. Thanks! -Bruce

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:3w**************@TK2MSFTNGXA01.phx.gbl...
Hi Bruce,

The ASP.NET webproject (for VS.NET2003 or 2002) can be opened in VS.NET
without nested in an existing solution. The important thing is to create
the correct Virtual directory to put your project files and page files on
the new box. You can open the .csproj.webinfo (or vbproj.webinfo) file
which is a hidden file , you'll find there is the url PATH info of your
asp.net project, something like:

<VisualStudioUNCWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1.csproj" />
</VisualStudioUNCWeb>

the above setting means you need to create an Virtual dir(configure as
Application) under the default site(localhost) in IIS , then put your
project files into that virtual dir. After that, you can directly click
the
project file to open your web project.

If you have anything unclear, please feel free to post here. Thanks,
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Nov 19 '05 #4
Good Luck! :-)
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #5
Good Luck! :-)
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #6

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

Similar topics

1
by: user mysql | last post by:
HELLO FRIENDS. HERE A FANTASTIC NEWS FOR MYSQL WINDOWS USER. READE THIS. The article is grab from www/internetnews/com/ DO YOU THINK THAT IS A GOOD NEWS ? ...
8
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
1
by: Yuriy | last post by:
I download a project from Microsoft site (Survey Admin) http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnaspp/html/surveysample1.asp Installed it and try to open using...
0
by: Chen | last post by:
I do not know what's wrong with my computer setting. When I try to open a project from 'project from web'. If I type the computer name in the textbox of the dialog box: http://CompterA it will...
0
by: publicityfoss | last post by:
Apologizes for multiple copies eventually received Documents on Migrations to Open Source available by the COSPA Consortium The COSPA consortium (Consortium for studying, evaluating, and...
158
by: Giovanni Bajo | last post by:
Hello, I just read this mail by Brett Cannon: http://mail.python.org/pipermail/python-dev/2006-October/069139.html where the "PSF infrastracture committee", after weeks of evaluation, recommends...
10
by: jimmy | last post by:
Hi again, sorry for posting two questions so close together but im working on a school project which is due in soon and running into some difficulties implementing the database parts. I have the...
16
by: zaley | last post by:
Is there a open souce IDE writen by C( C++) or partly writen by C( C+ +)?
22
by: Ken Foskey | last post by:
On Thu, 14 Aug 2008 10:09:01 -0700, raylopez99 wrote: The facts of the case above are that the person took a whole application and distributed it after some minor modifications, ie they did not...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.