Where to find the Microsoft.VisualStudio.SourceSafe.Interop.dll<p>Hello:</p> <p>I used the ssapi.dll which included in vc6.0 to redo the Addin test in the msdn, but the dll name does not appear to be <font size=2>Microsoft.VisualStudio.SourceSafe.Interop, I don't know where to find the proper dll. </font></p> <p><font size=2>Thanks a lot</font></p>© 2009 Microsoft Corporation. All rights reserved.Thu, 25 Jun 2009 03:00:28 Z284367ac-f8a7-411f-bca5-293bd827e3e9http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#284367ac-f8a7-411f-bca5-293bd827e3e9http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#284367ac-f8a7-411f-bca5-293bd827e3e9fengchaohttp://social.msdn.microsoft.com/Profile/en-US/?user=fengchaoWhere to find the Microsoft.VisualStudio.SourceSafe.Interop.dll<p>Hello:</p> <p>I used the ssapi.dll which included in vc6.0 to redo the Addin test in the msdn, but the dll name does not appear to be <font size=2>Microsoft.VisualStudio.SourceSafe.Interop, I don't know where to find the proper dll. </font></p> <p><font size=2>Thanks a lot</font></p>Sun, 14 Jan 2007 15:54:14 Z2007-01-15T23:24:12Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#27232edf-f498-4e2c-bfa5-c3943826be14http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#27232edf-f498-4e2c-bfa5-c3943826be14Barry MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Barry%20MSFTWhere to find the Microsoft.VisualStudio.SourceSafe.Interop.dllI did a search on my computer and found "Microsoft.VisualStudio.SourceSafe.Interop.dll" at location path "C:\Program Files\Common Files\Microsoft Shared\MSEnv\PublicAssemblies". However, VC 6.0 did not have this DLL. "Microsoft.VisualStudio.SourceSafe.Interop.dll" did not exist until Visual Studio .NET. I'm not sure if there is a equivalent DLL in VC 6.0.Mon, 15 Jan 2007 20:29:12 Z2007-01-15T20:29:12Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#cc13cc01-f22e-4868-9961-a89c0245352ahttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#cc13cc01-f22e-4868-9961-a89c0245352aRichard Berghttp://social.msdn.microsoft.com/Profile/en-US/?user=Richard%20BergWhere to find the Microsoft.VisualStudio.SourceSafe.Interop.dll<p>Correct, the Interop DLL is a managed wrapper around the IVSS COM interface exported from ssapi.dll.  Managed (.Net) code didn't exist until VS 2002.  </p> <p>You can write VSS automation in native code by calling the COM interface directly.  Here are some references: <a title="http://www.codeproject.com/samples/SSBrowser.asp#OtherResources" href="http://www.codeproject.com/samples/SSBrowser.asp#OtherResources">http://www.codeproject.com/samples/SSBrowser.asp#OtherResources</a></p>Mon, 15 Jan 2007 22:19:13 Z2007-01-15T23:24:12Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#7253a83e-5b53-49eb-8b5e-e2367f21e6aehttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#7253a83e-5b53-49eb-8b5e-e2367f21e6aePrasad Honraohttp://social.msdn.microsoft.com/Profile/en-US/?user=Prasad%20HonraoWhere to find the Microsoft.VisualStudio.SourceSafe.Interop.dll<p><font face="Courier New, Courier, Monospace" color="#0000ff" size=2>Thanks a lot Richard.</font></p> <p><font face="Courier New" color="#0000ff" size=2>The link was really helpful.</font></p>Fri, 30 Mar 2007 06:48:26 Z2007-03-30T06:48:26Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#96a0c265-078e-40c7-b265-11b9542179bdhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#96a0c265-078e-40c7-b265-11b9542179bdgerard_odonnellhttp://social.msdn.microsoft.com/Profile/en-US/?user=gerard_odonnellWhere to find the Microsoft.VisualStudio.SourceSafe.Interop.dll<p>Just copy Microsoft.VisualStudio.SourceSafe.Interop.dll from: <br/> C:\Program Files\Common Files\Microsoft Shared\MSEnv\PublicAssemblies<br/>to<br/> C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies<br/><br/>It then shows up in the macros ide in Visual Studio 2008, under Project | Add Reference...<br/><br/>Once you've added the reference, you can import it into your macro project and the Intellisense will show the constants e.g. for VSSFLAG_GETYES:</p> <pre>Imports Microsoft.VisualStudio.SourceSafe.Interop ... sourceSafeFile.Get(csLocalFilePath, VSSFlags.VSSFLAG_GETYES + VSSFlags.VSSFLAG_TIMENOW)</pre> Haven't tried creating an object using the interop DLL, but it probably also works.Wed, 24 Jun 2009 17:07:49 Z2009-06-24T17:07:49Zhttp://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#89977d6c-7314-4b4a-b16e-3afc34f0b1b9http://social.msdn.microsoft.com/Forums/en/vssourcecontrol/thread/284367ac-f8a7-411f-bca5-293bd827e3e9#89977d6c-7314-4b4a-b16e-3afc34f0b1b9Catherine Seahttp://social.msdn.microsoft.com/Profile/en-US/?user=Catherine%20SeaWhere to find the Microsoft.VisualStudio.SourceSafe.Interop.dllThanks for the information.<br/><br/>Catherine Sea<br/><a href="http://www.scmsoftwareconfigurationmanagement.com">http://www.scmsoftwareconfigurationmanagement.com</a>Thu, 25 Jun 2009 03:00:28 Z2009-06-25T03:00:28Z