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?
Remove Deleted files from visual studio solution
Asked Answered
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 project –
Camouflage
© 2022 - 2024 — McMap. All rights reserved.