VSS Automation - VSSItem.Add problems
I am using the C# COM wrapper withInteropServices.
I have tried all the below calls, and they return the error below:
tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", 0); tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT",(int)Flags.VSSFLAG_DELNO); The really wierd thing is that it worked once, and that was it. I did a permanent delete of the file in question, but there kept coming back. This has me a little puzzled, so if anyone could shed any light on what exactly is going on here that would be great. Thanks for the help.
L07_Debug 7/25/2005 11:25:53 AM PC127782 SSEXP.EXE Testing Ciosor.GetItem - Creation Loop - ERROR: System.Runtime.InteropServices.COMException (0x8004D694): Error loading resource string
at SourceSafeTypeLib.IVSSItem.Add(String Local, String Comment, Int32 iFlags)
at ActewAGL.PromotionManager.GetItem(VSSItem tempParent, StringCollection tempPaths) in c:\temp\actewagl\actewagl\ciosor.cs:line 267

