Navigation

Search

Categories

On this page

ILMerge GUI Source Code & Application
Custom Control Design Time Attributes

Archive

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 12
This Year: 0
This Month: 0
This Week: 0
Comments: 0

Sign In

 Wednesday, June 20, 2007
Wednesday, June 20, 2007 10:06:18 AM UTC ( )
Well, I have tried to find an ILMerge GUI out there that will run on my machine and have had no luck, so I finally took it upon my self to create my own (although basic) GUI for the ILMerge utility for combining IL libraries.

Download Links:
ILMerge GUI Executable
ILMerge GUI Source Code (VS 2005)

You will need the ILMerge application also, you can download it here
There is also the version history of the software here

I use this for wrapping up the different controls into one demo executable file which saves me having to collect source code from different places and compile manually.



As I add to the app, I will update the site.
If you would like to add to the app, add comment with your changes and I will update the source & app.

 Friday, June 01, 2007
Friday, June 01, 2007 2:01:07 PM UTC (  |  )
I was just asked a question by a recent ColorButton Source code customer about how the design time .dll (ColorButton.PocketPC.asmmeta.dll) is created for the ColorButton Control and seeing how it is not obvious in code (there is not a seperate project), I thought I had better explain what is going on.

Within the ColorButton source, there is a file called 'DTAColorButton.xmta'. The DTA part is an abbreviation for Design Time Attributes, by no means a naming convention standard, but something that I have become comfortable with.

The .xmta file simply contains an .xml format definition of the public properties within the ColorButton class. The compiler (magic really) recognises the existance of the .xmta file and creates the ColorButton.PocketPC.asmmeta.dll file, or one appropriate for the project target.

Further, the ColorButton solution shares the one set of source code across all projects in the solution:
ColorButton.Desktop
ColorButton.PocketPC
ColorButton.Smartphone
ColorButton.WindowsCE

Apart from the Desktop compile which has alot of #'s in the code which takes care of the desktop design time attributes:

#if Desktop
  [Description("Gets or sets the position information for button content"), Category("Appearance")]
#endif

The rest of the projects compile an asmmeta.dll to suit the device:
ColorButton.PocketPC.asmmeta.dll
ColorButton.WindowsCE.asmmeta.dll
ColorButton.Smartphone.asmmeta.dll

I hope this explains a bit about the source provided by Pocket PC Controls.com and may even give you some insight into creating your own controls.

If you need more info, feel free to add comment.