Skip to content

Commit

Permalink
Merge pull request #4035 from MDoerner/HotfixForDeployment
Browse files Browse the repository at this point in the history
Fixed assembly loading on fall back in deployment.
  • Loading branch information
retailcoder committed May 24, 2018
2 parents d533a96 + 5a3c564 commit 5db0eab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rubberduck.Deployment/BuildRegistryScript.ps1
Expand Up @@ -99,10 +99,11 @@ try
# For simplicity, the arguments are pass in literally.
# & "C:\GitHub\Rubberduck\Rubberduck\Rubberduck.Deployment\echoargs.exe" ""$sourceDll"" /win32 /out:""$sourceTlb"";

[System.Reflection.Assembly]::LoadFrom($builderAssemblyPath);

$devPath = Resolve-Path -Path "C:\Program Files*\Microsoft Visual Studio\*\*\Common*\Tools\VsDevCmd.bat";
if($devPath)
{
[System.Reflection.Assembly]::LoadFrom($builderAssemblyPath);
$idlGenerator = New-Object Rubberduck.Deployment.IdlGeneration.IdlGenerator;

$idl = $idlGenerator.GenerateIdl($sourceDll);
Expand Down

0 comments on commit 5db0eab

Please sign in to comment.