J
Jeff Barth
I need to test some fixes to a COM Addin for Office, written in C#.
Prior to Vista/Office 2007, I could test my code-fix by just replacing
the assembly file on the target machine with my new one, and restarting
the office app. On Vista/Office 2007, when I replace the assembly
file, the COM Addin no longer loads -- my toolbar is not shown in the
Addins ribbon in Word. Running Regasm doesn't help. The only way I
can get my Toolbar to load is to restore the orignal assembly file and
run the Repair option on the Addin installer.
This all works OK on WinXP and Office 2003.
Is there some trick to patching files on Vista? The current user is an
Administrator and UAC is turned off for the user.
Build environment: VS.NET 2003 running on WinXP professional, .NET FW
1.4322
Target environment: Vista 6.0 (build 6000), Office 2007 12.0.4518.1014
The Addin installs OK and loads and runs OK on the target after
installation. After patching one assembly (DLL) file, the addin
doesn't load and there are no error messages of any kind. Nothing is
logged anywhere that I can find. The code-change I made has nothing to
do with OnConnection or loading -- the change is to a button event
handler on a dialog.
Any ideas on what could be wrong?
Thank you,
jeff
Prior to Vista/Office 2007, I could test my code-fix by just replacing
the assembly file on the target machine with my new one, and restarting
the office app. On Vista/Office 2007, when I replace the assembly
file, the COM Addin no longer loads -- my toolbar is not shown in the
Addins ribbon in Word. Running Regasm doesn't help. The only way I
can get my Toolbar to load is to restore the orignal assembly file and
run the Repair option on the Addin installer.
This all works OK on WinXP and Office 2003.
Is there some trick to patching files on Vista? The current user is an
Administrator and UAC is turned off for the user.
Build environment: VS.NET 2003 running on WinXP professional, .NET FW
1.4322
Target environment: Vista 6.0 (build 6000), Office 2007 12.0.4518.1014
The Addin installs OK and loads and runs OK on the target after
installation. After patching one assembly (DLL) file, the addin
doesn't load and there are no error messages of any kind. Nothing is
logged anywhere that I can find. The code-change I made has nothing to
do with OnConnection or loading -- the change is to a button event
handler on a dialog.
Any ideas on what could be wrong?
Thank you,
jeff