Review build

This commit is contained in:
Alexandre JARDON
2025-03-15 09:37:21 +01:00
parent 30a3360f72
commit e01fc6c7c9

View File

@@ -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