Many ISVs would like to use VSTA as a development environment for mobile devices that run the Compact Framework version of the .Net runtime.
One common scenario has the ISV’s desktop/smart client app running VSTA customizations very nicely and a mobile version of the same app wishing that it could run the same VSTA customizations. It can’t.
The following is a brief summary of the features that are excluded from the .NET Compact Framework.
- No application configuration files.
- No support for COM Interop.
- No support for remoting.
- No support for printing.
- No support for the SoapFormatter or the BinaryFormatter classes.
- No support for XPath and XSLT.
- No support for the System.Web namespace.
Here’s my thinking:
1. VSTA’s proxy layer bits use remoting, so we are certain that a ‘normal’ Addin assembly it could not be used with the .Net Compact Framework. VSTA does not create applications (.exe), only addin assemblies (.dll) that must be loaded by a host application.
2. If the VSTA author created a blank project with no references to the proxy, or VSTA bits, they would be able to build a generic library assembly .dll. However, the assembly would still need to be discovered, loaded and run by an application (all the things the proxy bits do for the addin assembly).
3. The generic assembly would load and run on the Desktop CLR, but not run on the Compact Framework’s CLR.
4. Since the assembly will not load/run on Compact Runtime, we are left with a generic project and source in the VSTA IDE, with no way to compile/debug for target device. Not much value there...
I am not familiar enough with CF designtime to know whether VSTA could be re-configured (use different compiler, CF dependencies) to build an assembly that would load/run on the CF runtime. It seems unlikely or at least quite ugly. There are also CF debug/deployment issues that VSTA is not going to handle.
Some hopeful notes to end on:
- Microsoft is very interested in software development for the mobile marketplace – strategically interested.
- Because ISVs want to deploy VSTA addins on mobile devices it is being considered for a future version of VSTA.
Posted
Dec 06 2006, 05:18 PM
by
Gary