Hi Tony,
You can make a macro that handle the solution_closing event in VS.net.
In the solution_closing event you can use "VSS automation" to control the
VSS.
About how to handle solution_closing event:
Imports EnvDTE
Imports System.Diagnostics
Public Module Module1
Dim WithEvents dteobj As DTEEvents
Dim WithEvents solutionevents As solutionevents
Public Sub solutionevents_beforeclosing() Handles
solutionevents.BeforeClosing
MsgBox("abc")
End Sub
Public Sub DTEEvents_OnMacrosRuntimeReset() Handles
dteobj.OnMacrosRuntimeReset
solutionevents = DTE.Events.SolutionEvents
End Sub
End Module
About how to control VSS by VSS automation you can refer to this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvss/html/
vssauto.asp
If you still have anything unclear, please feel free to let me know.
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: "Tony Liu" <
[email protected]>
| Subject: Auto-Check out VSS
| Date: Sun, 17 Aug 2003 02:54:13 +0800
| Lines: 7
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <e#
[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: cm203-168-247-148.hkcable.com.hk 203.168.247.148
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:176913
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi, how can I have the Visual SourceSafe automatically check out files
when
| VS.NET shutdown?
|
| Thanks
| Tony
|
|
|