Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Wed, 4 Jun 2008 11:20:00 -0700,    group: microsoft.public.vsnet.general        back       


how to import directory hierarchy into VS2008   
i have a hierarchy of 40 directories with 1000 html and img files. i would 
like to use vs2008 to edit them ... but i can't figure out how to create a 
project and get all the files visible in their original hierarchy.

i tried dragging the top directory into the project (as link), and vs 
flattened the list of files so there was a huge unstructured list. not useful

i can fake it using "filters" by manually creating the hierarchy (ultra 
tedious) and adding files from each folder to each "filtered" node, but that 
is really bad because the names are explicit so any files added to the 
filesystem are not visible until they are explicitly added. i did try this 
partially, and it has the additional problem that "view in browser" is broken 
- it only seems to map the node of the file being viewed. that means images 
linked to peer directories all fail.

is this just not possible in VS2008?

at some point i did have this working fine in one of the older VS express 
tools, but even there i forget how i created the "project" from existing 
files on disk; it was not intuitive.

any tips

TIA

PMac
date: Wed, 4 Jun 2008 11:20:00 -0700   author:   PMac

Re: how to import directory hierarchy into VS2008   
Hi,

Couple of things to bear in mind.

1. VS2008 is a dev tool, it's not for HTML and IMG files. If you have a 
lot of static content and also some dynamic code, the usual solution 
would be to separate all your code from your HTML, then only load the 
code part into VS2008. This will also make things much quicker (e.g. 
version control).

2. Make sure you understand the difference between "WebSite" projects 
and "Web Application" projects, two very different ways of working.

PMac wrote:
> i have a hierarchy of 40 directories with 1000 html and img files. i would 
> like to use vs2008 to edit them ... but i can't figure out how to create a 
> project and get all the files visible in their original hierarchy.
> 
> i tried dragging the top directory into the project (as link), and vs 
> flattened the list of files so there was a huge unstructured list. not useful
> 
> i can fake it using "filters" by manually creating the hierarchy (ultra 
> tedious) and adding files from each folder to each "filtered" node, but that 
> is really bad because the names are explicit so any files added to the 
> filesystem are not visible until they are explicitly added. i did try this 
> partially, and it has the additional problem that "view in browser" is broken 
> - it only seems to map the node of the file being viewed. that means images 
> linked to peer directories all fail.
> 
> is this just not possible in VS2008?
> 
> at some point i did have this working fine in one of the older VS express 
> tools, but even there i forget how i created the "project" from existing 
> files on disk; it was not intuitive.
> 
> any tips
> 
> TIA
> 
> PMac
> 


-- 
Gerry Hickman (London UK)
date: Wed, 04 Jun 2008 21:42:21 +0100   author:   Gerry Hickman am

Re: how to import directory hierarchy into VS2008   
"Gerry Hickman" wrote:

> Hi,
> 
> Couple of things to bear in mind.
> 
> 1. VS2008 is a dev tool, it's not for HTML and IMG files. If you have a 
> lot of static content and also some dynamic code, the usual solution 
> would be to separate all your code from your HTML, then only load the 
> code part into VS2008. This will also make things much quicker (e.g. 
> version control).

i actually like the VS html editor - it is pretty clean and formats and 
validates
html nicely. I'm not coding a web app at the moment - this is actually help 
content for a java app.

> 
> 2. Make sure you understand the difference between "WebSite" projects 
> and "Web Application" projects, two very different ways of working.
> 

Ha ... that gave me the clue. if you follow the prompting of the start page 
it only has "create project" options with the hundreds of templates ... but 
none relevant for me.

the thing missing from the start page is "new website"; i was blinded by the 
start page and didn't look at the file -> new menu.

A website does exactly what i want - which is really simple. Once it's 
created it "is a project" in the solution explorer, but for whatever reasons 
you don't create it as a project.

thanks

PMac
date: Wed, 4 Jun 2008 14:57:00 -0700   author:   PMac

Re: how to import directory hierarchy into VS2008   
Hi PMac,

Yes, I agree it's confusing. It sounds like you've now found what you 
need. The WebSite "project" basically comprises the files contained 
within it's source location, whereas the Web Application Project can 
have certain files included or excluded.

PMac wrote:
> "Gerry Hickman" wrote:
> 
>> Hi,
>>
>> Couple of things to bear in mind.
>>
>> 1. VS2008 is a dev tool, it's not for HTML and IMG files. If you have a 
>> lot of static content and also some dynamic code, the usual solution 
>> would be to separate all your code from your HTML, then only load the 
>> code part into VS2008. This will also make things much quicker (e.g. 
>> version control).
> 
> i actually like the VS html editor - it is pretty clean and formats and 
> validates
> html nicely. I'm not coding a web app at the moment - this is actually help 
> content for a java app.
> 
>> 2. Make sure you understand the difference between "WebSite" projects 
>> and "Web Application" projects, two very different ways of working.
>>
> 
> Ha ... that gave me the clue. if you follow the prompting of the start page 
> it only has "create project" options with the hundreds of templates ... but 
> none relevant for me.
> 
> the thing missing from the start page is "new website"; i was blinded by the 
> start page and didn't look at the file -> new menu.
> 
> A website does exactly what i want - which is really simple. Once it's 
> created it "is a project" in the solution explorer, but for whatever reasons 
> you don't create it as a project.
> 
> thanks
> 
> PMac
> 


-- 
Gerry Hickman (London UK)
date: Sat, 14 Jun 2008 23:11:51 +0100   author:   Gerry Hickman am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us