PC Review


Reply
Thread Tools Rate Thread

Best Approach When Saving a New Project

 
 
Steve
Guest
Posts: n/a
 
      1st Dec 2006
When I create a new project in 2005, and I go to save the project files,
vb.net displays a dialog box that repeats the name of the application and
has a checkbox if I want to create a new directory for it. If I click the
checkbox, the new subdirectory gets the same name as the higher subdirectory
(which is the application name). For example if the project is called Test,
then the subdirectory structure looks like

Visual Studio 2005
--- Projects
--- Test
--- Test
--- bin
--- My Project
--- obj

If I don't tell the dialog to create a new directory, then I get

Visual Studio 2005
--- Projects
--- Test
--- bin
--- My Project
--- obj

Creating another \Test subdirectory below the first \Test subdirectory seems
redundant. Is there a reason why either approach would be better?

Also - If I want to throw in other files into the appliation (such as word
templates, icons, etc.), where's the best place to save them to simplify
deployment and use (\Test, \Test\MyProject, \Test\Test,
\Test\Test\MyProject, somewhere else?

Thanks

Steve



 
Reply With Quote
 
 
 
 
RobinS
Guest
Posts: n/a
 
      1st Dec 2006
It does that because what it's really doing is saving the
Solution in the top \Test directory. So if you added another
project called Test2 to that solution, it would show up
as folder Test2 under VisualStudio2005\Project\Test\.

I think you can add Word docs, etc., to your solution as
well, and it will put them where it thinks they go. Maybe
in a resources folder?

Robin S.
-----------------------------------

"Steve" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When I create a new project in 2005, and I go to save the project files,
> vb.net displays a dialog box that repeats the name of the application and
> has a checkbox if I want to create a new directory for it. If I click the
> checkbox, the new subdirectory gets the same name as the higher
> subdirectory
> (which is the application name). For example if the project is called
> Test,
> then the subdirectory structure looks like
>
> Visual Studio 2005
> --- Projects
> --- Test
> --- Test
> --- bin
> --- My Project
> --- obj
>
> If I don't tell the dialog to create a new directory, then I get
>
> Visual Studio 2005
> --- Projects
> --- Test
> --- bin
> --- My Project
> --- obj
>
> Creating another \Test subdirectory below the first \Test subdirectory
> seems
> redundant. Is there a reason why either approach would be better?
>
> Also - If I want to throw in other files into the appliation (such as word
> templates, icons, etc.), where's the best place to save them to simplify
> deployment and use (\Test, \Test\MyProject, \Test\Test,
> \Test\Test\MyProject, somewhere else?
>
> Thanks
>
> Steve
>
>
>



 
Reply With Quote
 
Charlie Brown
Guest
Posts: n/a
 
      1st Dec 2006
Personally I like to always create a Blank Solution first, then add
projects under that solution. I like the organization that gives me.

MySolution
--MyWindowsFormProject
--projectfolders
--resources
--icons
--MyBusinessClassProject
--projectfolders

I store resources in the projects to which they belong under the same
named folder. If you are not distributing the project or sharing it
with other devs, then its up to personal preferences.


RobinS wrote:
> It does that because what it's really doing is saving the
> Solution in the top \Test directory. So if you added another
> project called Test2 to that solution, it would show up
> as folder Test2 under VisualStudio2005\Project\Test\.
>
> I think you can add Word docs, etc., to your solution as
> well, and it will put them where it thinks they go. Maybe
> in a resources folder?
>
> Robin S.
> -----------------------------------
>
> "Steve" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > When I create a new project in 2005, and I go to save the project files,
> > vb.net displays a dialog box that repeats the name of the application and
> > has a checkbox if I want to create a new directory for it. If I click the
> > checkbox, the new subdirectory gets the same name as the higher
> > subdirectory
> > (which is the application name). For example if the project is called
> > Test,
> > then the subdirectory structure looks like
> >
> > Visual Studio 2005
> > --- Projects
> > --- Test
> > --- Test
> > --- bin
> > --- My Project
> > --- obj
> >
> > If I don't tell the dialog to create a new directory, then I get
> >
> > Visual Studio 2005
> > --- Projects
> > --- Test
> > --- bin
> > --- My Project
> > --- obj
> >
> > Creating another \Test subdirectory below the first \Test subdirectory
> > seems
> > redundant. Is there a reason why either approach would be better?
> >
> > Also - If I want to throw in other files into the appliation (such as word
> > templates, icons, etc.), where's the best place to save them to simplify
> > deployment and use (\Test, \Test\MyProject, \Test\Test,
> > \Test\Test\MyProject, somewhere else?
> >
> > Thanks
> >
> > Steve
> >
> >
> >


 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      1st Dec 2006
Were MySolution and MyWindowsFormProject the same names? If so, is this
confusing when you are using path statements in your code?

Also - if you create temp files or output files from your code - where do
you normally put them - root? temp? in the deployment folder as a
subdirectory? or somewhee else?

Thanks

Steve

"Charlie Brown" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Personally I like to always create a Blank Solution first, then add
> projects under that solution. I like the organization that gives me.
>
> MySolution
> --MyWindowsFormProject
> --projectfolders
> --resources
> --icons
> --MyBusinessClassProject
> --projectfolders
>
> I store resources in the projects to which they belong under the same
> named folder. If you are not distributing the project or sharing it
> with other devs, then its up to personal preferences.
>
>
> RobinS wrote:
> > It does that because what it's really doing is saving the
> > Solution in the top \Test directory. So if you added another
> > project called Test2 to that solution, it would show up
> > as folder Test2 under VisualStudio2005\Project\Test\.
> >
> > I think you can add Word docs, etc., to your solution as
> > well, and it will put them where it thinks they go. Maybe
> > in a resources folder?
> >
> > Robin S.
> > -----------------------------------
> >
> > "Steve" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > When I create a new project in 2005, and I go to save the project

files,
> > > vb.net displays a dialog box that repeats the name of the application

and
> > > has a checkbox if I want to create a new directory for it. If I click

the
> > > checkbox, the new subdirectory gets the same name as the higher
> > > subdirectory
> > > (which is the application name). For example if the project is called
> > > Test,
> > > then the subdirectory structure looks like
> > >
> > > Visual Studio 2005
> > > --- Projects
> > > --- Test
> > > --- Test
> > > --- bin
> > > --- My Project
> > > --- obj
> > >
> > > If I don't tell the dialog to create a new directory, then I get
> > >
> > > Visual Studio 2005
> > > --- Projects
> > > --- Test
> > > --- bin
> > > --- My Project
> > > --- obj
> > >
> > > Creating another \Test subdirectory below the first \Test subdirectory
> > > seems
> > > redundant. Is there a reason why either approach would be better?
> > >
> > > Also - If I want to throw in other files into the appliation (such as

word
> > > templates, icons, etc.), where's the best place to save them to

simplify
> > > deployment and use (\Test, \Test\MyProject, \Test\Test,
> > > \Test\Test\MyProject, somewhere else?
> > >
> > > Thanks
> > >
> > > Steve
> > >
> > >
> > >

>



 
Reply With Quote
 
RobinS
Guest
Posts: n/a
 
      1st Dec 2006
This is a good method, too. I like to see the Solution
as the top level. I have <Show Solution> checked in my
Visual Studio settings so it always shows it even if
I only have 1 project.

Robin S.
------------------------------
"Charlie Brown" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Personally I like to always create a Blank Solution first, then add
> projects under that solution. I like the organization that gives me.
>
> MySolution
> --MyWindowsFormProject
> --projectfolders
> --resources
> --icons
> --MyBusinessClassProject
> --projectfolders
>
> I store resources in the projects to which they belong under the same
> named folder. If you are not distributing the project or sharing it
> with other devs, then its up to personal preferences.
>
>
> RobinS wrote:
>> It does that because what it's really doing is saving the
>> Solution in the top \Test directory. So if you added another
>> project called Test2 to that solution, it would show up
>> as folder Test2 under VisualStudio2005\Project\Test\.
>>
>> I think you can add Word docs, etc., to your solution as
>> well, and it will put them where it thinks they go. Maybe
>> in a resources folder?
>>
>> Robin S.
>> -----------------------------------
>>
>> "Steve" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > When I create a new project in 2005, and I go to save the project
>> > files,
>> > vb.net displays a dialog box that repeats the name of the application
>> > and
>> > has a checkbox if I want to create a new directory for it. If I click
>> > the
>> > checkbox, the new subdirectory gets the same name as the higher
>> > subdirectory
>> > (which is the application name). For example if the project is called
>> > Test,
>> > then the subdirectory structure looks like
>> >
>> > Visual Studio 2005
>> > --- Projects
>> > --- Test
>> > --- Test
>> > --- bin
>> > --- My Project
>> > --- obj
>> >
>> > If I don't tell the dialog to create a new directory, then I get
>> >
>> > Visual Studio 2005
>> > --- Projects
>> > --- Test
>> > --- bin
>> > --- My Project
>> > --- obj
>> >
>> > Creating another \Test subdirectory below the first \Test subdirectory
>> > seems
>> > redundant. Is there a reason why either approach would be better?
>> >
>> > Also - If I want to throw in other files into the appliation (such as
>> > word
>> > templates, icons, etc.), where's the best place to save them to
>> > simplify
>> > deployment and use (\Test, \Test\MyProject, \Test\Test,
>> > \Test\Test\MyProject, somewhere else?
>> >
>> > Thanks
>> >
>> > Steve
>> >
>> >
>> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best way to approach my large project using Word? Sarah W Microsoft Word Document Management 4 9th Apr 2008 06:21 PM
Looking for Approach on Excel Project S Himmelrich Microsoft Excel Discussion 4 5th Nov 2007 11:12 PM
Need advice how to approach project? =?Utf-8?B?UnVkeQ==?= Microsoft Dot NET Framework 4 22nd Jul 2005 09:54 AM
New Project, need idea to best approach it... RompStar Microsoft Excel Discussion 4 9th May 2005 05:15 PM
How do I approach this little Project, please? Stuart Microsoft Excel Programming 2 26th Jun 2004 06:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:05 AM.