Ejemplo n.º 1
0
 public void RenameFileViaDTE(
     ProjectUtils.Project project,
     string oldFileName,
     string newFileName
     )
 {
     // Wireup to open files can happen asynchronously in the case we're being notified of changes on background threads.
     _inProc.RenameFileViaDTE(project.Name, oldFileName, newFileName);
     _instance.Workspace.WaitForAsyncOperations(
         Helper.HangMitigatingTimeout,
         FeatureAttribute.Workspace
         );
 }