public void RemoveImport(string targetPath)
        {
            GuiSyncDispatch(() => {
                string relativeTargetPath = GetRelativePath(targetPath);
                project.RemoveImport(relativeTargetPath);
                RemoveImportWithForwardSlashes(targetPath);

                using (var updater = new EnsureNuGetPackageBuildImportsTargetUpdater()) {
                    updater.RemoveImport(relativeTargetPath);
                    project.DisposeProjectBuilder();
                    project.Save();
                }
            });
        }