Jump to content

.net Compact Framework 2.0 SP1 ships with 'install to Storage Card' support!

Guest PaulOBrien

Recommended Posts

Guest Paul (MVP)

[teaser]The release of a new Compact Framework Service Pack would not normally make front page news, but in this case, as well as the usual round of fixes, there's a little bit extra :)

Microsoft have shipped .net Compact Framework 2.0 SP1 with 'install to Storage Card' support!

For developers such as myself, the memory requirement of .net CF 2.0 placed upon an already limited resource (particularly on Smartphone) has always been off putting. In fact, to date I have been still developing in .net CF 1.0, purely because of this problem.

Installation to Storage Card resolves this issue, and is a very welcome change!

The update can be found here, the lowdown from Microsoft follows:[/teaser]

.NET Compact Framework 2.0 Service Pack 1 details:

Added Features:

- Added support for WindowsCE 4.2 in both the CAB installation and a Platform Builder Update (For more information on the Platform Builder Update, see Windows CE Download Center.)

- Added the option to install the global assemblycache to the storage card.

- Allow DataGrid cell drawing to be overridden

- Added support for headless Windows CE 5.0 devices by adding a Headless catalog item in Platform Builder. (For more information on the Platform Builder Update, see Windows CE Download Center.)

- Added System SR files to the Windows CE 5.0 Platform Builder catalog item. (For more information on the Platform Builder Update, see Windows CE Download Center)

- Enabled device debugging using mdbg.

- Included LogViewer tools to monitor network traffic.

- Included the .NET Compact Framework Remote Performance Monitor. (For more information, see Steven Pratschner’s BLOG.)

- Added the Serializable attribute.

Fixed Issues:

- Changing VT_BYREF Variants in managed code could lead to a memory leak.

- Inappropriate caching of current UI culture even after CultureInfo.ClearCachedData is called.

- For the HttpWebRequest method, an uncatchable ObjectDisposedException could occur when exiting an application with asynchronous requests.

- Visual Studio hangs on setting a Breakpoint in a function with an infinite loop when it is called from the Immediate Window.

- Breakpoints do not work if the cached, managed dlls in the bcl directory differ from the ones on the device.

- Environment.GetFolderPath returns an InvalidOperationException.

- An access violation occurs when accessing .theControls or .Controls.Count property of a control once it has begun the disposing process.

- The WebBrowser.DocumentCompleted event is fired in a loop when the DocumentText property contains an image inside of a table.

- Files should be extracted to the main storage as a workaround to avoid hardware issues on some storage cards.

- For the HttpWebRequest method, an ArgumentOutOfRangeException occurs when accessing some https:// URLs.

- Timer breaks after GetTickCount wraps around (49.7 days).

- Error occurs when loading the .NET Compact Framework version 2.0 on a device using an ActiveSync push.

- Memory leaks occur when using Com marshaling.

- Installer should check for ActiveSync version and disable deployment if version is older than ActiveSync 4.0 build 4343.

- For the SerialPort class, an IOException is thrown when opening a serial port on the IPAQ 4150.

- A call to HttpWebRequest over SSL with a payload greater than 32 KB hangs on the client when SendChunked returns false.

- For the SerialPort class,an uncatchable exception occurs when Bluetooth is turned off.

- A finalizer for the FileStream class will cause the application to crash if a previous IO operation failed.

- Installation of the .NET Compact Framework fails on low memory devices.

- PInvoke return types of UIntPtr throw a NotSupportedException.

- The Debug.WriteLine method in the .NET Compact framework version 2.0 is not working.

- For the SerialPort class, virtual serial ports are not reported by the SerialPort.GetPortNames method.

- When using COM Interop, a VARIANT_BOOL type is passed incorrectly on ARMV4I.

- The .NET Compact Framework incorrectly performs version comparison when loading assemblies.

- ARMV4I runtime should be removed from ARMV4 Pocket PC CAB to reduce the size of the CAB.

- Corrections needed for Http Abort semantics.

- The DateTime.Now method throws an ArgumentOutOfRangeException.

- Crash caused by using CurrentTimeZone.GetDaylightTime and CurrentTimeZone.GetStandardTime in certain rare stress conditions.

Enjoy! :)


Link to comment
Share on other sites

Guest bbrockie
Strange, I still get "Out of memory" problems when installing on my SD Card :)

Okey, I managed to solve this problem. I temporarily moved some files from "/Application Date/Home" to my Storage Card, as I didn't need half of them anyway.

After that it installed perfectly to the Storage Card, although stealing a few 100kb's on my device. After installation, I moved my files back to "/Application Data/Home" and all runs fine.

Link to comment
Share on other sites

Guest Tech

anytime :)

the reason this was implemented in this was because of the demand. Even though MS thought of this a long time ago perhaps, the reason for not implementing was simple - what happens if you remove the storage card when an application needs to use the framework (and the storage card has the GAC files) - it wont run, then most of them would be like saying "oh man this sucks, never again..blahblah" - this time, its your own fault for removing the card if its required to run a .NET CF app ;) :)

but yes, its great, performance will be a little bit slow (and also depends how your application is running)

now having installed it folks - try my DAR~ling application ;-) (link in my sig or search for a thread here called DAR~ling)

Edited by Tech
Link to comment
Share on other sites

Guest Paul (MVP)

Since I install virtually all apps to card anyway (and definitely all my managed apps are on card), not a concern.


Link to comment
Share on other sites

Guest jasnewt
Wow an extra 5Mb of free storage. Thank you Uncle Bill and your little wizards.

How did you get 5MB of extra storage? I installed to my memory card but the storage figure on my phone is pretty much the same afterwards. The previous version seems to be in ROM and therefore can't be deleted.


Link to comment
Share on other sites


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.