473,761 Members | 3,542 Online
Bytes | Software Development & Data Engineering Community
+ 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 1686
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:

<VisualStudioUN CWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1 .csproj" />
</VisualStudioUNC Web>

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.m icrosoft.com> wrote in message
news:3w******** ******@TK2MSFTN GXA01.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:

<VisualStudioUN CWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1 .csproj" />
</VisualStudioUNC Web>

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.m icrosoft.com> wrote in message
news:3w******** ******@TK2MSFTN GXA01.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:

<VisualStudioUN CWeb>
<Web URLPath =
"http://localhost/WebApplication1/WebApplication1 .csproj" />
</VisualStudioUNC Web>

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
2421
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 ? ----------------------------------------------------------------------------- Open source database server company MySQL's next production release of its open source MySQL database server will be sporting a new Windows installer, one partially built with an open source project courtesy...
8
11853
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, and use @"C:\file.txt"; it worked Thanks a lot
1
1418
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 SurveyAdmin.vbproj file which I do usually when open Projects and received a message (The project you trying to open is a Web project. You need to open it by specifying its URL path.) Although the project was installed properly, Virtual directory was...
0
1044
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 show open project dialogbox and show a list subfolders in default web site. If I type 'localhost' then it will direct me to 'My Documents' folder If I try add a New Folder to the above 'open project' dialog box under 'Web Folders'
0
1579
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 supporting the introduction of Open Source software and Open Data Standards in the Public Administration) has made available for general download the
158
6419
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 using a non open source tracker (called JIRA - never heard before of course) for Python itself. Does this smell "Bitkeeper fiasco" to anyone else than me? --
10
6110
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 code below which when executed generates the following error message: 'There is already an open datareader with this command which must be closed first' Private Sub MainMenu_Load(ByVal sender As System.Object, ByVal e As
16
1177
by: zaley | last post by:
Is there a open souce IDE writen by C( C++) or partly writen by C( C+ +)?
22
2408
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 do much at all to the whole thing. It was outright theft. How would you feel if someone stole your application that you were selling and then distributed it. What is the difference? Artistic, GPL and LGPL are licenses, Public Domain is a...
0
9554
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9377
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9989
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8814
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6640
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.