We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f12a16 commit 059acceCopy full SHA for 059acce
Rubberduck.Core/UnitTesting/ProjectTestExtensions.cs
@@ -10,7 +10,9 @@ public static class ProjectTestExtensions
10
{
11
public static void EnsureReferenceToAddInLibrary(this IVBProject project)
12
13
- var assembly = Assembly.GetExecutingAssembly();
+ // FIXME should rely on the assembly containing the UnitTest components.
14
+ // Those are not necessarily the same.
15
+ var assembly = Assembly.GetEntryAssembly();
16
17
var name = assembly.GetName().Name.Replace('.', '_');
18
var referencePath = Path.ChangeExtension(assembly.Location, ".tlb");
0 commit comments