473,804 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add Existing Item issue on C# Web Project

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.publi c.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
copy a web project from source safe so that I can edit it, the dialog box
for that option shows an empty folder (even if I choose to show all files).

The process I use for the copy from source safe is to bring down all the
files via Source Safe, then I open Visual Studio and bind my project to
source safe, and finally I create a virtual directory for the project
folder. Just to see if it would cure the problem, I turned on all of the
access permissions for the virtual folder (Script source access [thru]
Directory browsing).

When I choose "Add Existing Item", as I mentioned it shows the directory as
empty. I then navigate to the "localhost" folder, and from there I can't
even see the name of the directory that I was just browsing!

I've noticed that when I create a new dotnet project, I can see that
directory in Windows Explorer under "My Network Places\localhos t", but I
don't see the new one that I copied (and created the virtual directory for).
Is this the issue? If so, how can I get my new folder to show up there?

Thanks in advance,

Steve Harclerode
Nov 15 '05 #1
1 2610
Instead of manually copying the code down from VSS, try opening the project from VS.NET by going to File-> Source Control -> Open From Source Control... It should setup everything for you and get you going. One problem with doing it this way (in my opinion), is that it doesn't ask where you want the files to be - it just puts them under inetpub/wwwroot. (Sometimes) You can kill off the virtual directory it creates, move the files, re-create the virtual directory, and update your solution file (in notepad) and get it working in a different directory. I say "sometimes" , because I've seen a few machines that I just absolutely could not get it to work anywhere else except inetpub.

Good luck!

Ian
Nov 15 '05 #2

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

Similar topics

0
1228
by: trevor | last post by:
When i load visual basic.net and select File - Add new item to an existing or a new project i receive the above error. I receive this with the windows form template and the data wizard template for example. Does anyone know why this problem occurs. I have only just purchased, registered and installed my copy of visual basic.net 2003 standard I have been able to find any reference about this and its a damn pain in the arse.
1
5604
by: Christopher W. Douglas | last post by:
I am building a VB.NET application in Visual Studio.NET 2003. I have an existing project with code and forms I want to reuse in this project. If I am copying a module file, then Add Existing Item works fine. However, if I am copying a form, it pulls it in as a module file, not as a form. I have tried adding the .resx file first, adding the .vb and .resx file at the same time, or deleting the .resx file, nothing seems to work. I have a...
2
2229
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
1
1558
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
2
1551
by: Joris Gillis | last post by:
Hi all, I've just discovered EcmaScript for Xml and I'm trying to play with it in Firefox 1.5 In the SVG document below, an E4X XML tree is built up from scratch and put inside the variable 'fresh'. Any attempt, however, to append this fresh tree to the existing SVG DOM tree seems to fail, possibly because there's a document mismatch. I don't know how to solve it, though...
3
8633
by: garyusenet | last post by:
Dear Professionals, I have recently been using the wonderful krypton toolkit and am trying to use them in my small hobby application. I include this bit of info as an aside really because i'm sure my question can be extrapolated to the more general case, so here goes! I have a box standard windows forms project. (File, New Project, Windows Application, OK)
7
3083
by: Rico | last post by:
Hello, I have a VB6 ActiveX DLL project that I use to connect to an SQL Server database. The front end that uses this DLL is written in Access XP / 2002. When I modify the ActiveX code, compile it and copy the DLL to the production machine, the Access front end complains unless I pull the old reference out of the "References" section of the tools menu item, close the front end, open the front end and then re-reference the same library. ...
0
9715
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
9595
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
10353
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
9176
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
5536
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...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3836
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3003
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.