steps: - script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- build-nexus 2>&1' displayName: Build Nexus - task: TrustedSigning@0 displayName: Signing Nexus inputs: AzureTenantID: $(AzureTenantID) AzureClientID: $(AzureClientID) AzureClientSecret: $(AzureClientSecret) AzureClientSendCertificateChain: false Endpoint: 'https://weu.codesigning.azure.net/' TrustedSigningAccountName: 'CentronCodesigning' CertificateProfileName: 'centroncert' FileDigest: 'SHA256' Files: | $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.Host.exe $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.Host.dll $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.dll $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\CentronNexus.OutlookAddIn.dll $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.Core.dll $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.WebServices.Core.dll $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.Interfaces.dll $(Build.SourcesDirectory)\src\nexus\CentronNexus.Host\bin\Release\net10.0\win-x64\publish\Centron.Office.Client.dll - script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- zip-nexus-directory 2>&1' displayName: Set Nexus Zip-Directory - script: 'dotnet tool update --global wix --version "5.0.2" --allow-downgrade || dotnet tool install --global wix --version "5.0.2"' displayName: Install WiX Toolset 5.x (WixSharp 2.x compatible) - script: 'wix extension add -g WixToolset.UI.wixext/5.0.2' displayName: Install WiX UI Extension 5.x - script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- build-nexus-installer 2>&1' displayName: Build Nexus Installer - task: TrustedSigning@0 displayName: Signing Nexus inputs: AzureTenantID: $(AzureTenantID) AzureClientID: $(AzureClientID) AzureClientSecret: $(AzureClientSecret) AzureClientSendCertificateChain: false Endpoint: 'https://weu.codesigning.azure.net/' TrustedSigningAccountName: 'CentronCodesigning' CertificateProfileName: 'centroncert' FileDigest: 'SHA256' Files: $(Build.SourcesDirectory)\deployment\WixSharpInstaller\bin\Release\net10.0-windows\c-entron Nexus.msi - script: 'dotnet run --project "./scripts/Scripts/Scripts.csproj" -- zip-nexus-singleFile 2>&1' displayName: Zip Nexus Installer