Groups | Blog | Home
all groups > visual studio .net enterprise tools > may 2004 >

visual studio .net enterprise tools : Enterprise Template


CT
5/3/2004 7:24:33 AM
Hmm, not sure what your solution looks like now. In any case, here's how to
remove various files, solutions, and projects from source control. This does
NOT affect anything stored in the VSS database.

------------------------------------------
1. Delete the following files from your solution or project folder and any
project folders in this folder: *.scc, * .vspscc, and .vssscc.

2. Select all remaining files and folders in the solution or project
folder, and remove the read-only attribute from the selected files and
folders. VSS uses the read-only attribute for items that are checked in, so
you need to remove this attribute before editing any files. Keep in mind
that some projects may be located outside the parent solution folder. This
is nearly always true for Web projects, which are usually located in the
Inetpub\wwwroot folder.

3. If you want to remove a solution file from VSS source control, edit the
solution file (.sln) in a plain text editor like Notepad. Remove the
SourceCodeControl GlobalSection section. Remove from and including this
line:

GlobalSection(SourceCodeControl) = preSolution

to and including this line:

EndGlobalSection

4. Edit any project files (.vbproj or .csproj) in a plain text editor.
Remove these four lines, which are located at the top of the project file in
either the VisualBasic or CSHARP node:

SccProjectName = "SAK"

SccLocalPath = "SAK"

SccAuxPath = "SAK"

SccProvider = "SAK"

5. If you have enterprise template project files (.etp), they also must be
edited,
remove the SourceControlSettings node including content, from the start tag
<SourceControlSettings> to the end tag </SourceControlSettings>.

That's all you need to do. Your solution and project are now fully removed
from VSS source control.

-----------------------------------------



Let me know if you need anything more specific

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
[quoted text, click to view]

runningdog
5/3/2004 10:44:53 AM
Hi,

I have created an Enterprise Template Project following the walkthrough
provided. The project that I used as a basis for the template was under
source code control (vss 6.0d) and I now get the following message when a
create a new project based on my template.

"The solution appears to be under source control, but its binding
information cannot be found. It is possible that the MSSCCPRJ.SCC file or
another item that holds the source control settings for the solution, has
been deleted. Because it is not possible to recover this missing information
automatically, the projects whose bindings are missing will be treated as
not under source control."

This doesn't appear to create a problem but it is annoying.

How can I remove the references in the template to vss while keeping my
original base project under source control.

Steve

runningdog
5/3/2004 3:22:36 PM
Thanks,

Removed ReadOnly attributes and SourceCodeControl GlobalSection section from
my .etp file, works good now.

Steve

[quoted text, click to view]

AddThis Social Bookmark Button