C
corradolab
Hi everyone,
start Visual Studio 2005 and create a new C# Smart Device project,
targeting Compact Framework 1.1.
Add a reference to System.Data.SqlServerCe.
Close an reopen the just created Form1.
Maybe you'll notice it seems a little slower now.
Now open your ProjectAssemblies folder.
On my Vista machine it is C:\Users\Corrado\AppData\Local\Microsoft
\VisualStudio\8.0\ProjectAssemblies
You'll find 8 random-name recently-created directories, each holding a
copy of SqlServerCe.dll
Now lets move to real world example.
I've a big form with a page control, a lot of pages and a lot of
controls.
Opening it requires an unacceptable amount of time: about 45 seconds
on my new PC, up to 4 minutes with older one. Worst, every time I open
it, Visual Studio create more the 1000 folders in ProjectAssemblies,
each filled with the above mentioned 122 KB dll. Thats 122 MB of
wasted space.
Before I realized it I got 17.0000 files using 2 GB of disk space.
We had no trouble with Visual Studio 2003, which opened the big form
in few seconds even on the older PC.
I've about 1000 rows in my form InitializeComponent, so I belive a new
copy of SqlServerCe.dll is created every time VS designer parse an
InitializeComponent row.
Worst, Process Explorer shows every dll copy is loaded in memory
twince...
Can you reproduce my behaviour?
Any workaround?
Kind regards,
Corrado
start Visual Studio 2005 and create a new C# Smart Device project,
targeting Compact Framework 1.1.
Add a reference to System.Data.SqlServerCe.
Close an reopen the just created Form1.
Maybe you'll notice it seems a little slower now.
Now open your ProjectAssemblies folder.
On my Vista machine it is C:\Users\Corrado\AppData\Local\Microsoft
\VisualStudio\8.0\ProjectAssemblies
You'll find 8 random-name recently-created directories, each holding a
copy of SqlServerCe.dll
Now lets move to real world example.
I've a big form with a page control, a lot of pages and a lot of
controls.
Opening it requires an unacceptable amount of time: about 45 seconds
on my new PC, up to 4 minutes with older one. Worst, every time I open
it, Visual Studio create more the 1000 folders in ProjectAssemblies,
each filled with the above mentioned 122 KB dll. Thats 122 MB of
wasted space.
Before I realized it I got 17.0000 files using 2 GB of disk space.
We had no trouble with Visual Studio 2003, which opened the big form
in few seconds even on the older PC.
I've about 1000 rows in my form InitializeComponent, so I belive a new
copy of SqlServerCe.dll is created every time VS designer parse an
InitializeComponent row.
Worst, Process Explorer shows every dll copy is loaded in memory
twince...
Can you reproduce my behaviour?
Any workaround?
Kind regards,
Corrado