|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Best Approach When Saving a New Projectvb.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 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. ----------------------------------- Show quoteHide quote "Steve" <s.ar***@comcast.net> wrote in message news:u23rwGXFHHA.1252@TK2MSFTNGP02.phx.gbl... > 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 > > > 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: Show quoteHide quote > 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" <s.ar***@comcast.net> wrote in message > news:u23rwGXFHHA.1252@TK2MSFTNGP02.phx.gbl... > > 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 > > > > > > 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 Show quoteHide quote "Charlie Brown" <cbr***@duclaw.com> wrote in message news:1164998793.659201.30310@n67g2000cwd.googlegroups.com... > 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" <s.ar***@comcast.net> wrote in message > > news:u23rwGXFHHA.1252@TK2MSFTNGP02.phx.gbl... > > > 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 > > > > > > > > > > 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. ------------------------------ Show quoteHide quote "Charlie Brown" <cbr***@duclaw.com> wrote in message news:1164998793.659201.30310@n67g2000cwd.googlegroups.com... > 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" <s.ar***@comcast.net> wrote in message >> news:u23rwGXFHHA.1252@TK2MSFTNGP02.phx.gbl... >> > 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 >> > >> > >> > >
Changing Color of Textbox on Hover
Offline application for reporting and collect data Report Viewer Asynchronous thread abort error Fastest String search No Response Redirect but something like Response Forward? Disable sort on specific columns with VB.NET datagrid Find Window Question SyncLock Required? Error in displaying data grid What does this mean? |
|||||||||||||||||||||||