vs.net 2003 not creating directories

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the virtual directory on my pc the directory does not exist. If i create the folder from explorer then select hide/show files within vs.net I see the directory I just created. When I include that directory in my project by right clicking and selecting "include" vs.net brings a number of sub directories from another project that I have on my pc
I closed the solution and looked at the vbproj file. It contained the followin
<Folder RelPath = "Secure\Administration\" /><Folder RelPath = "Secure\Skills\Objects\" /><Folder RelPath = "Secure\Training\Objects\" /><Folder RelPath = "Secure\UControls\ChartImages\" /

The folder i was adding was just Secure. All the sub directories are from another web site on my pc. What is going on
 
Hi Dy,

What's the physical path of folder that the web application locates? When
you include a folder in the project, all its sub folders will be included
by default. Can you see the subfolders in the Solution Explorer? Is there
any relations between these two web projects, do they share any folders?

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Thread-Topic: vs.net 2003 not creating directories
thread-index: AcP28YVO+znecyS3Q4uLGdh1MB6R3w==
X-Tomcat-NG: microsoft.public.dotnet.general
From: "=?Utf-8?B?ZGF2ZQ==?=" <[email protected]>
Subject: vs.net 2003 not creating directories
Date: Thu, 19 Feb 2004 06:06:08 -0800
Lines: 6
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:125126
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

I am using vs.net 2003 on windows xp. After clicking on a project within
my solution and selecting create new folder vs.net responds back with , the
"directory already exists". If i look at the virtual directory on my pc
the directory does not exist. If i create the folder from explorer then
select hide/show files within vs.net I see the directory I just created.
When I include that directory in my project by right clicking and selecting
"include" vs.net brings a number of sub directories from another project
that I have on my pc.
I closed the solution and looked at the vbproj file. It contained the
following
<Folder RelPath = "Secure\Administration\" /><Folder
RelPath = "Secure\Skills\Objects\" /><Folder RelPath =
"Secure\Training\Objects\" /><Folder RelPath =
"Secure\UControls\ChartImages\" />

The folder i was adding was just Secure. All the sub directories are from
another web site on my pc. What is going on?
 
Hi Dave,

Thanks for you update. Yeap, it seems very odd. I will try to repro the
behavior and take a look into it. By the way, can you always repro the
behavior? Does this occur on other machines?

Thanks,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Thread-Topic: vs.net 2003 not creating directories
thread-index: AcP3v5PWgCdVQr1gTv2q02azdnU+tw==
X-Tomcat-NG: microsoft.public.dotnet.general
From: "=?Utf-8?B?ZGF2ZQ==?=" <[email protected]>
References: <[email protected]>
Subject: RE: vs.net 2003 not creating directories
Date: Fri, 20 Feb 2004 06:41:08 -0800
Lines: 7
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:125221
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

c:\inetput\wwwroot\appspec\appspec is the phsycial path to the project.
(this is the same as the default web in iis)

I then created through explorer c:\inetput\wwwroot\appspec\appspec\secure.
I then when back to vs.net project and included this into the project.
When i did this it also added in the directories secure/skills/objects,
secure/training/objects etc.
These directories exist at c:\inetpub\wwwroot\corporatedirectory\secure ...

How or why would vs.net be looking at another physical directory on my pc?
thx dave
 
Hi Dave,

I tried to repro the behavior, but with no luck. Can you always repro the
behavior? If yes, can you show me the steps in detail?

Besides, I would like to know how you opened the project, by vbproj file or
sln file? I am guessing that probably the sln file contain incorrect path
to the project for some reasons. You can open the sln file by using a text
editor. Check the second line in the file. It should be similar to the
following:

Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "appspec",
"http://localhost/appspec/appspec/appspec.vbproj",
"{574D808F-B2F8-4586-8649-616CFBA62CDB}"

Does the URL in the above line point to your appspec project?

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
Thread-Topic: vs.net 2003 not creating directories
thread-index: AcP3v5PWgCdVQr1gTv2q02azdnU+tw==
X-Tomcat-NG: microsoft.public.dotnet.general
From: "=?Utf-8?B?ZGF2ZQ==?=" <[email protected]>
References: <[email protected]>
Subject: RE: vs.net 2003 not creating directories
Date: Fri, 20 Feb 2004 06:41:08 -0800
Lines: 7
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:125221
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

c:\inetput\wwwroot\appspec\appspec is the phsycial path to the project.
(this is the same as the default web in iis)

I then created through explorer c:\inetput\wwwroot\appspec\appspec\secure.
I then when back to vs.net project and included this into the project.
When i did this it also added in the directories secure/skills/objects,
secure/training/objects etc.
These directories exist at c:\inetpub\wwwroot\corporatedirectory\secure ...

How or why would vs.net be looking at another physical directory on my pc?
thx dave
 
Back
Top