Skip to content

Version 1.22 - Unit Testing Discovery HotFix

Compare
Choose a tag to compare
@retailcoder retailcoder released this 31 Mar 22:51

HotFix release for issue #354 - unit test discovery is using the VBE API and tries to discover test methods in protected VBProjects. This manifested as a refusal of the Test and Todo Explorers to open.

Use the x86 installer for 32-bit versions of Office, even if you're running a 64-bit system.

Use the x64 installer only for 64-bit versions of Office.


x64 Specifics

This version will install under C:\Program Files (x86), unlike the previous release; therefore we recommend manually uninstalling the previous version before running the setup program.

Despite our efforts to properly configure the setup, it's possible that even after a successful x64 install, starting a Microsoft Office application and opening up the VBE brings up this message:

'Rubberduck' could not be loaded. Remove it from the list of available add-ins?

If this happens, click 'no' and close the Microsoft Office application, then run this command from an administrative command prompt:

c:\windows\microsoft.net\framework64\v4.0.30319\regasm.exe "c:\program files (x86)\rubberduck\rubberduck\rubberduck\rubberduck.dll" /codebase /tlb

This will correctly register the add-in with the Windows Registry, a step that the installer is intended to be doing automatically. Note that pull requests are welcome, if anyone has an idea of exactly what we're doing wrong here.