I am working on an application that uses Process and ProcessStartInfo to run ss.exe to perform some maintenance tasks.
On the error stream, I am constantly getting a message: ""No VSS database (srcsafe.ini) found. Set the SSDIR environment variable to the path of srcsafe.ini for your VSS database."
To make sure my SSDIR variable is set, I inspected the ProcessStartInfo object - specifically the EnvironmentVariables. Sure enough, ssdir was one of the environment variables, and it was set to the path of srcsafe.ini.
On a different thought, I also tried setting SSDIR via My Computer. But I still got the error message.
This is the executable for Visual Studio 2005. How can I get ss.exe to recognize the variable? Or, is there a .NET or COM interface to VSS, that does not use ss.exe?
Hongye Sun [MSFT] MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
See what's happening in MSDN forum? Follow us at Twitter.
Monday, February 01, 2010 5:23 AM
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.