diff --git a/service/WinBGP-Service.ps1 b/service/WinBGP-Service.ps1 index 659eda7..160d639 100644 --- a/service/WinBGP-Service.ps1 +++ b/service/WinBGP-Service.ps1 @@ -897,10 +897,10 @@ if ($Build) { # Install the service # Generate the service .EXE from the C# source embedded in this script # Overwrite for builder - $exeFullName="$exeName" + $exeFullName=".\$exeName" try { - Write-Verbose "Compiling $exeFullName" + Write-Output "Compiling $exeFullName" Add-Type -TypeDefinition $source -Language CSharp -OutputAssembly $exeFullName -OutputType ConsoleApplication -ReferencedAssemblies "System.ServiceProcess" -Debug:$false } catch { $msg = $_.Exception.Message