Control for multiple platforms

Hi,

I have created a control for the Compact Framework & would like to implement same code for Desktop use also. All is running well expect for one frustrating thing (2 days on it and counting).

The control has a Designer .dll installed into the GAC only for the Compact Framework version for designer actions, verbs etc..

I am able to select the control for one or the other projects (Desktop & Smart Device), but not both. After selecting for either platform, the control is in the list of chosen controls (not in the toolbox) for the other platform and I am unable to select the correct control

ie:
- Create a new project for Smart Device
- Select Choose Items for the toolbox
- Select the appropriate control
- All runs well
- Create a new project for the Desktop
- Select Choose Items for the toolbox
- The Compact Framework control is there <= This is where the trouble is
- If I select the appropiate control, the existing one stays, no change

This happens in reverse also (by creating the Desktop project first)

Any help would be appreciated... seems there is some signing (or something) for the .dll's that the IDE can't distiguish between the 2

Bill


Answer this question

Control for multiple platforms

  • imcgraw

    Hi Again,

    I hate to answer my own questions, but after creating a seperate deployment project for each of the platforms, the IDE seems to handle the different .dlls (it is able to distinguish between the two).

    If anyone can answer me why this is happening, I would greatly appreciate it as I would like them to be in the one install.

    Regards,
    Bill

  • Control for multiple platforms