Home > Archive > Smartphone Developer Forum > April 2006 > VS 2005 Home screen CAB project CESelfRegister: how?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
VS 2005 Home screen CAB project CESelfRegister: how?
|
|
| Bobby Schaffer 2006-04-25, 7:18 pm |
| After getting the SDK homescreen example project to work, I tried creating my
own project that is just a trivial revision of the sample. I set up my new
dll and CAB projects' properties to mirror the settings in the homescreen
sample.
I am unable to get the smart phone CAB project to include the line
"CESelfRegister=<pluginname>.dll" in the inf file it builds as part of the
CAB creation process.
Visual Studio 2005 creates the inf file as part of the build, so I cannot
manually edit the inf file; any edits get discarded when the CAB build
occurs. Is there a VS 2005 property or dialog screen to specify that the dll
needs to SelfRegister?
| |
| Bobby Schaffer 2006-04-25, 7:18 pm |
| Memo to self:
In Solution Explorer highlight the "Primary Output from <myplugin> and
inspect the properties pane. Alter the Register property to "COM Self
Register and rebuild. When you inspect the inf file, you will see that the
CESelfRegister text was added.
"Bobby Schaffer" wrote:
> After getting the SDK homescreen example project to work, I tried creating my
> own project that is just a trivial revision of the sample. I set up my new
> dll and CAB projects' properties to mirror the settings in the homescreen
> sample.
>
> I am unable to get the smart phone CAB project to include the line
> "CESelfRegister=<pluginname>.dll" in the inf file it builds as part of the
> CAB creation process.
>
> Visual Studio 2005 creates the inf file as part of the build, so I cannot
> manually edit the inf file; any edits get discarded when the CAB build
> occurs. Is there a VS 2005 property or dialog screen to specify that the dll
> needs to SelfRegister?
|
|
|
|
|