Is there any way in the visual studio 2010 SDK to remove a file that doesn't exist on disk. I've tried using the VCProject.RemoveReference and the VCProject.RemoveFile methods, but both reqiure an Object to be passed. The problem I'm finding is I can't create a file object from a file that doesn't exist on disk. Is there another way to delete the reference from the project?
Asked
Active
Viewed 926 times
6
-
Are we only talking at runtime? – Nate-Wilkins Aug 12 '12 at 16:39
-
Yep. So in an extension, when a file is deleted from disk, I'd like to remove the reference from my project – maccard Aug 12 '12 at 16:49