T
teddysnips
I've been brought onto a new project and there's a file that lays out
the preferred method of obtaining the source code.
This file starts as follows:
"Do not get the source for the web project throught SourceSafe explorer
or Visual Studio will attempt to open the web project from wwwroot, not
your work directory."
If I understand this correctly (by no means a certainty) it's saying
that storing your source code in C:\Inetpub\wwwroot\MyProject is a Bad
Thing.
The file goes on to explain about creating the folder structure in a
different, preferred Projects area on your system.
"Create the directory structure where you want to put the web client
source, for example d:\Work\MyProject\Source\MyProject.Client.
Share that folder as a virtual directory with the name matching the
project name (do this either through IIS console or in windows
explorer). You'll now have a empty directory.
Now open Visual Studio. Use File -> Source Control -> Open from source
control... to load the solution and projects onto your local machine."
This is not how I've been doing things for the past four years. My
C:\Inetpub\wwwroot folder stores the source code for dozens of
projects.
Have I been making a fundamental mistake? Is there de facto something
Wrong, or Bad, about using this location to store Source?
Thanks
Edward
the preferred method of obtaining the source code.
This file starts as follows:
"Do not get the source for the web project throught SourceSafe explorer
or Visual Studio will attempt to open the web project from wwwroot, not
your work directory."
If I understand this correctly (by no means a certainty) it's saying
that storing your source code in C:\Inetpub\wwwroot\MyProject is a Bad
Thing.
The file goes on to explain about creating the folder structure in a
different, preferred Projects area on your system.
"Create the directory structure where you want to put the web client
source, for example d:\Work\MyProject\Source\MyProject.Client.
Share that folder as a virtual directory with the name matching the
project name (do this either through IIS console or in windows
explorer). You'll now have a empty directory.
Now open Visual Studio. Use File -> Source Control -> Open from source
control... to load the solution and projects onto your local machine."
This is not how I've been doing things for the past four years. My
C:\Inetpub\wwwroot folder stores the source code for dozens of
projects.
Have I been making a fundamental mistake? Is there de facto something
Wrong, or Bad, about using this location to store Source?
Thanks
Edward