Remove Deleted files from visual studio solution
Asked Answered
C

0

6

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?

Camouflage answered 12/8, 2012 at 16:26 Comment(2)
Are we only talking at runtime?Rattle
Yep. So in an extension, when a file is deleted from disk, I'd like to remove the reference from my projectCamouflage

© 2022 - 2024 — McMap. All rights reserved.