Hi,
I've created NAnt scripts to compile our codebase for .NET CF 1.0, 2.0 and 3.5. This worked pretty well in the past. Now we started localizing our UI. So our scripts need to compile the resource files (resx) too. And that's where the trouble starts.
The resx format changed from VS .NET 2003 to VS 2008. My idea is to continue maintaining the UI from VS .NET 2003 and converting the resx files temporarly to the new VS 2008 format during compilation (that means before calling the resource compiler).
Automatic conversion seems definitely feasable. Besides some minor things, I believe the full qualified type names require adjustments. The problem is that there is a really nasty mixture of .NET and .NET CF types:
System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Drawing.Size, System.CF.Drawing, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a System.Windows.Forms.Design.ResXNullRef, System.CF.Design, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
So I'm pretty unsure which .NET CF 3.5 and .NET 2.0 class library types should be used correspondingly.
Are there resources to get a deeper understanding of how the whole resource thing (designer, resx, resource compiler) works?
Did anyone successfully implemented the described conversion? What approaches do you use for sharing code and resource files between .NET CF 1.0 and 2.0/3.5?
Thanks