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

VSPackage - Is there a way to Suspend/Resume the UI when adding or removing large numbers of folders and files from a project?

$
0
0

I need to add and remove large numbers of folders and files to/from a VCProject from code. It works but it is slow. During adding/removing, the UI keeps updating and this slows things down and looks very unprofessional (when removing, the scrollbar jumps around randomly). At this point I'm contemplating unloading the project, modifying its XML project file, and reloading it since it will be much faster.

I know there has to be a faster way since when I open the project it loads relatively fast.

A slightly related issue - What is the easiest way to have new filters/folders be collapsed by default when adding them via VCFilter.AddFilter?



Viewing all articles
Browse latest Browse all 4410

Trending Articles



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