473,386 Members | 1,679 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,386 software developers and data experts.

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.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
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\localhost", 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 2582
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
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...
1
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...
2
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...
1
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...
2
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...
3
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...
7
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.