I have an asp.net web site that I want to develop further, but I don't have
the Visual Studio project files for the site.
I have all the source files for the site (aspx, cs etc) and the site itself
is running quite happily on my development web server, however within Visual
Studio the only way to add an existing file has two problems:
1. You can only add one file at a time
2. You don't appear to be able to navigate into subfolders where all of my
existing project files are.
I can see from investigating the visual studio project files that the files
appear to be held in the .csproj file, so I assume it would be possible to
write something to generate the <files> section:
<Files>
<Include>
<File
RelPath = "AssemblyInfo.c s"
BuildAction = "Compile"
/>
<File
RelPath = "Global.asa x"
SubType = "Component"
BuildAction = "Content"
/>
<File
RelPath = "Global.asax.cs "
DependentUpon = "Global.asa x"
SubType = "Code"
BuildAction = "Compile"
/>
However I am looking for either a utility that can already do this (and of
course it would have to be able to calculate the "DependentU pon" entries
too) or some way for Visual Studio to "import" a web site. 1 1675
Hey Robert,
Maybe this is too simplistic, but I don't think you're right about the
capabilities of adding files.
1. Open a VS.NET project on your machine.
2. Map a drive to the development Web server and location of the files.
3. Using Windows Explorer, select the files and folders you want to add.
4. Drag and drop the files and folders into the project in the Solution
Explorer pane.
That adds them en masse.
Ken
"Robert Jones" <ro**********@b topenworld.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. I have an asp.net web site that I want to develop further, but I don't have the Visual Studio project files for the site.
I have all the source files for the site (aspx, cs etc) and the site itself is running quite happily on my development web server, however within Visual Studio the only way to add an existing file has two problems:
1. You can only add one file at a time 2. You don't appear to be able to navigate into subfolders where all of my existing project files are.
I can see from investigating the visual studio project files that the files appear to be held in the .csproj file, so I assume it would be possible to write something to generate the <files> section:
<Files> <Include> <File RelPath = "AssemblyInfo.c s" BuildAction = "Compile" /> <File RelPath = "Global.asa x" SubType = "Component" BuildAction = "Content" /> <File RelPath = "Global.asax.cs " DependentUpon = "Global.asa x" SubType = "Code" BuildAction = "Compile" />
However I am looking for either a utility that can already do this (and of course it would have to be able to calculate the "DependentU pon" entries too) or some way for Visual Studio to "import" a web site. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jon Paugh |
last post by:
Hi Friendly Newsgroup Readers,
I switched to another PC and pulled all my source code
for my solution to my new PC, after first dutifully
adding my web project directories as appropriately named
virtual directories in IIS. But after much fiddling I
still cannot open my web projects from VS .NET.
When I open my old solution, it refuses to include the
web projects (asp.net web projects) that were in the
|
by: Denis |
last post by:
Hello,
I am working on a large business application written mostly with VC++
and MFC. What I'm trying to do is accessing my database with the
existing functions in my c++ application using XML Web Services.
I decided to separate the function call from my Web Service. In order
to do this I create a project (unmanaged c++ as a static lib) where
all the functions to create a connection and request to my application
will be. Having VS.NET...
|
by: Camel Software |
last post by:
I've posted this in other places, but didn't get an answer. The project I'm
working on is C#, so perhaps this is an okay place to post this. If there's
a more appropriate newsgroup, I'm open to it. I've tried
microsoft.public.dotnet.faqs and m.p.d.framework.
-----
Hi,
I have an issue with Visual Studio dotnet when using "Add Existing Item" to
a web project. When I create a new project, that option works fine. When I
|
by: VB Programmer |
last post by:
How do you add an existing folder to a project in VS.NET? It will only let
me create new folders, or add existing files.
Thanks.
|
by: G Dean Blake |
last post by:
If I add an existing .aspx file in another project to a new project,
everything works fine except that it doesn't bring along the .xsd datasets.
So then if I add existing .xsd file to my new project, it doesn't bring
along the associated .vb file for the dataset. So then if I add eisting
dataset.vb file to my new project it adds it but it doesn't nest it below
the .xsd module in the Solution Explorer.
Is there a better way to import...
| |
by: Bill Nguyen |
last post by:
I would like to add a new VB.NET project using the same folder being used by
another project so that I can share several forms already creaded by the
other project. However, .NET created a new folder using whatever project
name I supplied.
Is there a work around for this?
Thanks
Bill
|
by: tony |
last post by:
Hello!!
Normally I use C# but we have a project that is creating a window control
library DLL that is done in C++.NET and that is here I have some problems
that I want to solve.
To be able to understand my question fully, I do the following.
1. Create a project that is a WindowControlLibrary called Test in C++.NET
in this project we have several files but the following are intresting for
|
by: rohinichandrap |
last post by:
Hi,
I have converted a workspace(A.dsw) from VC++ 6.0 to VC++ 7.1(A.sln).
The solution A.sln has three projects in it B,C,D.
My software configuration management is done in Rational clear case.
Below is the hierarchy in my clearcase explorer.
|
|
by: newjazzharmony |
last post by:
I'm working in Visual Studio 2003 and I'm trying to add a web project
to a solution.
When I right-click on the solution and select "Add Existing Project
you want to add the project from:" that is prepopulated with
"http://localhost."
When I click "OK," the "Add Existing Project" dialog comes up with the
"localhost" folder selected.
Inside this folder, I am expecting to see the "csproj" files inside my
"inetpub\wwroot" folder, but...
|
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,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |