Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Rename Document in project

$
0
0

I tried to rename a document in a project with the following two `IVsRunningDocumentTable::RenameDocument` and `VsShellUtillities::RenameDocument`, however both of them just created a new file with the new content, but the old file didn't got removed?

IVsRunningDocumentTable::RenameDocument(fullName, newFullName, VSConstants.HIERARCHY_DONTCHANGE, VSConstants.VSITEMID_NIL);

The other one got invoked quite similar. Is there any alternative to that or is there anything wrong with the current code?



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>