Finally I figured it out. It's because excel.exe.config is missing so
Excel does not recognize .NET 2.0 based Add-In and has silently failed
to load my Add-In
On Jan 27, 2:22 pm, "Robson Siqueira" <rob...@robsonfelix.com> wrote:
> My interest,
>
> I would rather point the fingers to the environment. Did you verify if all
> support assemblies you are using - or COM objects - are properly installed
> and have the same version as you have on the XP machine.
>
> In fact, Media Center it's almost the same Windows (to not say the same) as
> the XP. It only has the Media Center application added to the system. As
> well as a notepad application.
>
> If you are using VSTO, make sure everything looks the same as your XP
> machine.
>
> I hope it helps.
>
> --
> Regards,
> Robson Siqueira
> Enterprise Architect"My interest" <myinter...@gmail.com> wrote in messagenews:(E-Mail Removed)...
>
> >I have written a simple Excel automation add-in using c#. It works
> > fine on my WinXP PC, but does not work on my MediaCenter PC. The
> > sympton is that the add-in is shown in the add-in list but all the
> > functions are not available (i.e. when you open the function help
> > dialoug, these functions are not displayed, actually even the assembly
> > is not shown in the category.)
>
> > I have tried (1) recompile the code on the MediaCenter, (2) manually
> > register the code compiled on XP, (3) run a setup program created using
> > visual studio. None of them worked.
>
> > I guess there may be something specific on the MediaCenter machine or
> > some Excel configuration (e.g. security etc). But I just couldn't
> > figure it out. Any suggestions and recommendations, or even wildest
> > guess, are welcomed.
>
> > My environment: Visual Studio 2005, Excel 2003
|