How to run the build step as administrator with RunAs plugin?
In my project, I need to run the build step with administrator permission, so I installed Runas plugin (follows https://blog.jetbrains.com/teamcity/2017/09/introducing-teamcity-runas-plugin/) and configured it as below
1) Add new build feature with 'Run as' type, and set the administrator's account. High integrity is applied
2) the Build Agent and TeamCity server are all restarted
3) Run the build again, below is the diagnostic logs
[Step 3/4] Starting: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" C:\BuildAgent\work\9a087f2303dd9f3d\Source\<ProjectName>.proj /t:Build /p:Configuration=Release @C:\BuildAgent\temp\agentTmp\1.rsp /p:Platform=x86
[11:22:13][Step 3/4] in directory: C:\BuildAgent\work\9a087f2303dd9f3d
[11:22:13][Step 3/4] Granting necessary permissions
[11:22:13][Step 3/4] MSBuild (8m:37s)
[11:22:13][MSBuild] Starting: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe" C:\BuildAgent\work\9a087f2303dd9f3d\Source\<ProjectName>.proj /t:Build /p:Configuration=Release @C:\BuildAgent\temp\agentTmp\1.rsp /p:Platform=x86
[11:22:13][MSBuild] in directory: C:\BuildAgent\work\9a087f2303dd9f3d
[11:22:13][MSBuild]
[11:22:13][MSBuild] DEBUG: JetBrains RunAs x64 1.0.0.061
[11:22:13][MSBuild] DEBUG: main::Run starting
[11:22:13][MSBuild] DEBUG: Runner::Create a job
[11:22:13][MSBuild] DEBUG: Runner::Configure all child processes associated with the job to terminate when the parent is terminated
[11:22:13][MSBuild] DEBUG: Job::SetInformation
[11:22:13][MSBuild] DEBUG: Runner::Assign the current process to the job
[11:22:13][MSBuild] DEBUG: Job::AssignProcessToJob
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses
[11:22:13][MSBuild] DEBUG: SelfTest::GetStatistic
[11:22:13][MSBuild] DEBUG: Token groups:
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: S-1-5-21-3605726991-219976199-1557596913-513 (<MachineName>\None)
[11:22:13][MSBuild] DEBUG: S-1-1-0
[11:22:13][MSBuild] DEBUG: S-1-5-114
[11:22:13][MSBuild] DEBUG: S-1-5-32-544 (BUILTIN\Administrators)
[11:22:13][MSBuild] DEBUG: S-1-5-32-555
[11:22:13][MSBuild] DEBUG: S-1-5-32-559
[11:22:13][MSBuild] DEBUG: S-1-5-32-545 (BUILTIN\Users)
[11:22:13][MSBuild] DEBUG: S-1-5-4
[11:22:13][MSBuild] DEBUG: S-1-2-1
[11:22:13][MSBuild] DEBUG: S-1-5-11
[11:22:13][MSBuild] DEBUG: S-1-5-15 (NT AUTHORITY\This Organization)
[11:22:13][MSBuild] DEBUG: S-1-5-113 (NT AUTHORITY\Local account)
[11:22:13][MSBuild] DEBUG: S-1-5-5-0-285552
[11:22:13][MSBuild] DEBUG: S-1-2-0 (LOCAL)
[11:22:13][MSBuild] DEBUG: S-1-5-64-10
[11:22:13][MSBuild] DEBUG: S-1-16-8192
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::IsService: 0
[11:22:13][MSBuild] DEBUG: SelfTest::HasAdministrativePrivileges: 0
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::HasPrivilege(SE_ASSIGNPRIMARYTOKEN_NAME): 0
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::HasPrivilege(SE_TCB_NAME): 0
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::GetIntegrityLevel: medium
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses settings.GetIntegrityLevel() = high
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses statistic.GetIntegrityLevel() = medium
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses push ProcessWithLogon
[11:22:13][MSBuild] DEBUG: ::GetStdHandle(STD_OUTPUT_HANDLE)
[11:22:13][MSBuild] DEBUG: ::GetStdHandle(STD_ERROR_HANDLE)
[11:22:13][MSBuild] DEBUG: ProcessWithLogon::Run
[11:22:13][MSBuild] DEBUG: ProcessWithLogon::Get calling process Environment
[11:22:13][MSBuild] DEBUG: Environment::CreateForCurrentProcess
[11:22:13][MSBuild] DEBUG: SET "=::=::\" (from API results)
[11:22:13][MSBuild] DEBUG: SET "=C:=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "=ExitCode=00000040" (from API results)
[11:22:13][MSBuild] DEBUG: SET "=ExitCodeAscii=@" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ALLUSERSPROFILE=C:\ProgramData" (from API results)
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (from API results)
[11:22:13][MSBuild] DEBUG: SET "BUILD_NUMBER=13" (from API results)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER=192f6a7762808c93bf58a03142f9d47693d6e1db" (from API results)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER_CytExpertForDxFLEXFda_Dev=192f6a7762808c93bf58a03142f9d47693d6e1db" (from API results)
[11:22:13][MSBuild] DEBUG: SET "CMD_PATH="cmd.exe" " (from API results)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles=C:\Program Files\Common Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramW6432=C:\Program Files\Common Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "COMPlus_EnableDiagnostics=0" (from API results)
[11:22:13][MSBuild] DEBUG: SET "COMPUTERNAME=<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ComSpec=C:\Windows\system32\cmd.exe" (from API results)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_CLI_TELEMETRY_OPTOUT=true" (from API results)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true" (from API results)
[11:22:13][MSBuild] DEBUG: SET "DriverData=C:\Windows\System32\Drivers\DriverData" (from API results)
[11:22:13][MSBuild] DEBUG: SET "EXIT_CODE=64" (from API results)
[11:22:13][MSBuild] DEBUG: SET "FORCE_NUGET_EXE_INTERACTIVE=" (from API results)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer" (from API results)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_USER_PROFILE_STRING=Default" (from API results)
[11:22:13][MSBuild] DEBUG: SET "HOMEDRIVE=C:" (from API results)
[11:22:13][MSBuild] DEBUG: SET "HOMEPATH=\Users\<UserName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (from API results)
[11:22:13][MSBuild] DEBUG: SET "LOGONSERVER=\\<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "NUGET_PLUGIN_PATHS=C:\BuildAgent\plugins\nuget-agent\bin\credential-plugin\net46\CredentialProvider.TeamCity.exe" (from API results)
[11:22:13][MSBuild] DEBUG: SET "NUGET_XMLDOC_MODE=skip" (from API results)
[11:22:13][MSBuild] DEBUG: SET "NUMBER_OF_PROCESSORS=8" (from API results)
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (from API results)
[11:22:13][MSBuild] DEBUG: SET "OS=Windows_NT" (from API results)
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_ARCHITECTURE=AMD64" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_LEVEL=6" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_REVISION=5e03" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramData=C:\ProgramData" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles=C:\Program Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles(x86)=C:\Program Files (x86)" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramW6432=C:\Program Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROMPT=$P$G" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PUBLIC=C:\Users\Public" (from API results)
[11:22:13][MSBuild] DEBUG: SET "RUNAS_TMP_FILE=runAs-18288-13405.tmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "RUN_AS_PATH="C:\BuildAgent\plugins\runAs-agent\bin\x64\JetBrains.runAs.exe"" (from API results)
[11:22:13][MSBuild] DEBUG: SET "SESSIONNAME=Console" (from API results)
[11:22:13][MSBuild] DEBUG: SET "SystemDrive=C:" (from API results)
[11:22:13][MSBuild] DEBUG: SET "SystemRoot=C:\Windows" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CONFIG_FILE=..\conf\buildAgent.properties" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CURRENT_DIR=C:\BuildAgent\bin" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_JAVA_EXEC=C:\BuildAgent\jre\bin\java.exe" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_LOG_DIR=../logs/" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_MEM_OPTS_ACTUAL=-Xmx384m" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_OPTS_ACTUAL=-ea -Xmx384m -Dlog4j.configuration=file:../conf/teamcity-agent-log4j.xml -Dteamcity_logs=../logs/" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_START_EXEC=start /min" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILDCONF_NAME=DailyBuild" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILD_PROPERTIES_FILE=C:\BuildAgent\temp\buildTmp\teamcity.build16510355651824925010.properties" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_CAPTURE_ENV="C:\BuildAgent\jre\bin\java.exe" -jar "C:\BuildAgent\plugins\environment-fetcher\bin\env-fetcher.jar"" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_JRE=C:\BuildAgent\jre" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_CLASSPATH=..\launcher\lib\launcher.jar" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_MEM_OPTS_ACTUAL=-Xms16m -Xmx64m" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_OPTS_ACTUAL=-ea -Xms16m -Xmx64m" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_MSBUILD_LOGGER=C:\BuildAgent\plugins\dotnet\tools\msbuild15\TeamCity.MSBuild.Logger.dll" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_FLOW_ID=" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_PARENT_FLOW_ID=" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROJECT_NAME=CytExpert for DxFLEX (FDA)" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VERSION=2021.2 (build 99542)" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VSTEST_LOGGER=C:\BuildAgent\plugins\dotnet\tools\vstest15\TeamCity.VSTest.TestAdapter.dll" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEMP=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TMP=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TMPDIR=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "UseSharedCompilation=false" (from API results)
[11:22:13][MSBuild] DEBUG: SET "windir=C:\Windows" (from API results)
[11:22:13][MSBuild] DEBUG: SET "WIX=C:\Program Files (x86)\WiX Toolset v3.11\" (from API results)
[11:22:13][MSBuild] DEBUG: ProcessWithLogon::Get target user environment
[11:22:13][MSBuild] DEBUG: ProcessTracker::InitializeConsoleRedirection
[11:22:13][MSBuild] DEBUG: ::CreateProcessWithLogonW
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit
[11:22:13][MSBuild] DEBUG: Output:
[11:22:13][MSBuild] DEBUG:
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit finished
[11:22:13][MSBuild] DEBUG: Environment::CreateFormString
[11:22:13][MSBuild] DEBUG: Environment::CreateFormList
[11:22:13][MSBuild] DEBUG: SET "ALLUSERSPROFILE=C:\ProgramData" (from strings: "ALLUSERSPROFILE=C:\ProgramData")
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (from strings: "APPDATA=C:\Users\<UserName>\AppData\Roaming")
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles=C:\Program Files\Common Files" (from strings: "CommonProgramFiles=C:\Program Files\Common Files")
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" (from strings: "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files")
[11:22:13][MSBuild] DEBUG: SET "CommonProgramW6432=C:\Program Files\Common Files" (from strings: "CommonProgramW6432=C:\Program Files\Common Files")
[11:22:13][MSBuild] DEBUG: SET "COMPUTERNAME=<MachineName>" (from strings: "COMPUTERNAME=<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "ComSpec=C:\Windows\system32\cmd.exe" (from strings: "ComSpec=C:\Windows\system32\cmd.exe")
[11:22:13][MSBuild] DEBUG: SET "DriverData=C:\Windows\System32\Drivers\DriverData" (from strings: "DriverData=C:\Windows\System32\Drivers\DriverData")
[11:22:13][MSBuild] DEBUG: SET "HOMEDRIVE=C:" (from strings: "HOMEDRIVE=C:")
[11:22:13][MSBuild] DEBUG: SET "HOMEPATH=\Users\<UserName>" (from strings: "HOMEPATH=\Users\<UserName>")
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (from strings: "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local")
[11:22:13][MSBuild] DEBUG: SET "LOGONSERVER=\\<MachineName>" (from strings: "LOGONSERVER=\\<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "NUMBER_OF_PROCESSORS=8" (from strings: "NUMBER_OF_PROCESSORS=8")
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (from strings: "OneDrive=C:\Users\<UserName>\OneDrive")
[11:22:13][MSBuild] DEBUG: SET "OS=Windows_NT" (from strings: "OS=Windows_NT")
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (from strings: "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools")
[11:22:13][MSBuild] DEBUG: SET "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (from strings: "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_ARCHITECTURE=AMD64" (from strings: "PROCESSOR_ARCHITECTURE=AMD64")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel" (from strings: "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_LEVEL=6" (from strings: "PROCESSOR_LEVEL=6")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_REVISION=5e03" (from strings: "PROCESSOR_REVISION=5e03")
[11:22:13][MSBuild] DEBUG: SET "ProgramData=C:\ProgramData" (from strings: "ProgramData=C:\ProgramData")
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles=C:\Program Files" (from strings: "ProgramFiles=C:\Program Files")
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles(x86)=C:\Program Files (x86)" (from strings: "ProgramFiles(x86)=C:\Program Files (x86)")
[11:22:13][MSBuild] DEBUG: SET "ProgramW6432=C:\Program Files" (from strings: "ProgramW6432=C:\Program Files")
[11:22:13][MSBuild] DEBUG: SET "PROMPT=$P$G" (from strings: "PROMPT=$P$G")
[11:22:13][MSBuild] DEBUG: SET "PSModulePath=%ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules" (from strings: "PSModulePath=%ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules")
[11:22:13][MSBuild] DEBUG: SET "PUBLIC=C:\Users\Public" (from strings: "PUBLIC=C:\Users\Public")
[11:22:13][MSBuild] DEBUG: SET "SystemDrive=C:" (from strings: "SystemDrive=C:")
[11:22:13][MSBuild] DEBUG: SET "SystemRoot=C:\Windows" (from strings: "SystemRoot=C:\Windows")
[11:22:13][MSBuild] DEBUG: SET "TEMP=C:\Users\<UserName>\AppData\Local\Temp" (from strings: "TEMP=C:\Users\<UserName>\AppData\Local\Temp")
[11:22:13][MSBuild] DEBUG: SET "TMP=C:\Users\<UserName>\AppData\Local\Temp" (from strings: "TMP=C:\Users\<UserName>\AppData\Local\Temp")
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (from strings: "USERDOMAIN=<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (from strings: "USERDOMAIN_ROAMINGPROFILE=<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (from strings: "USERNAME=<UserName>")
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (from strings: "USERPROFILE=C:\Users\<UserName>")
[11:22:13][MSBuild] DEBUG: SET "windir=C:\Windows" (from strings: "windir=C:\Windows")
[11:22:13][MSBuild] DEBUG: SET "WIX=C:\Program Files (x86)\WiX Toolset v3.11\" (from strings: "WIX=C:\Program Files (x86)\WiX Toolset v3.11\")
[11:22:13][MSBuild] DEBUG: Environment::Override
[11:22:13][MSBuild] DEBUG: Environment::Copy environment variables from base environment
[11:22:13][MSBuild] DEBUG: SET "=::=::\" (set value)
[11:22:13][MSBuild] DEBUG: SET "=C:=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "=ExitCode=00000040" (set value)
[11:22:13][MSBuild] DEBUG: SET "=ExitCodeAscii=@" (set value)
[11:22:13][MSBuild] DEBUG: SET "ALLUSERSPROFILE=C:\ProgramData" (set value)
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (set value)
[11:22:13][MSBuild] DEBUG: SET "BUILD_NUMBER=13" (set value)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER=192f6a7762808c93bf58a03142f9d47693d6e1db" (set value)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER_CytExpertForDxFLEXFda_Dev=192f6a7762808c93bf58a03142f9d47693d6e1db" (set value)
[11:22:13][MSBuild] DEBUG: SET "CMD_PATH="cmd.exe" " (set value)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles=C:\Program Files\Common Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramW6432=C:\Program Files\Common Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "COMPlus_EnableDiagnostics=0" (set value)
[11:22:13][MSBuild] DEBUG: SET "COMPUTERNAME=<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "ComSpec=C:\Windows\system32\cmd.exe" (set value)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_CLI_TELEMETRY_OPTOUT=true" (set value)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true" (set value)
[11:22:13][MSBuild] DEBUG: SET "DriverData=C:\Windows\System32\Drivers\DriverData" (set value)
[11:22:13][MSBuild] DEBUG: SET "EXIT_CODE=64" (set value)
[11:22:13][MSBuild] DEBUG: SET "FORCE_NUGET_EXE_INTERACTIVE=" (set value)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer" (set value)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_USER_PROFILE_STRING=Default" (set value)
[11:22:13][MSBuild] DEBUG: SET "HOMEDRIVE=C:" (set value)
[11:22:13][MSBuild] DEBUG: SET "HOMEPATH=\Users\<UserName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (set value)
[11:22:13][MSBuild] DEBUG: SET "LOGONSERVER=\\<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "NUGET_PLUGIN_PATHS=C:\BuildAgent\plugins\nuget-agent\bin\credential-plugin\net46\CredentialProvider.TeamCity.exe" (set value)
[11:22:13][MSBuild] DEBUG: SET "NUGET_XMLDOC_MODE=skip" (set value)
[11:22:13][MSBuild] DEBUG: SET "NUMBER_OF_PROCESSORS=8" (set value)
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (set value)
[11:22:13][MSBuild] DEBUG: SET "OS=Windows_NT" (set value)
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (set value)
[11:22:13][MSBuild] DEBUG: SET "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_ARCHITECTURE=AMD64" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_LEVEL=6" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_REVISION=5e03" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramData=C:\ProgramData" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles=C:\Program Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles(x86)=C:\Program Files (x86)" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramW6432=C:\Program Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROMPT=$P$G" (set value)
[11:22:13][MSBuild] DEBUG: SET "PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules" (set value)
[11:22:13][MSBuild] DEBUG: SET "PUBLIC=C:\Users\Public" (set value)
[11:22:13][MSBuild] DEBUG: SET "RUN_AS_PATH="C:\BuildAgent\plugins\runAs-agent\bin\x64\JetBrains.runAs.exe"" (set value)
[11:22:13][MSBuild] DEBUG: SET "RUNAS_TMP_FILE=runAs-18288-13405.tmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "SESSIONNAME=Console" (set value)
[11:22:13][MSBuild] DEBUG: SET "SystemDrive=C:" (set value)
[11:22:13][MSBuild] DEBUG: SET "SystemRoot=C:\Windows" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CONFIG_FILE=..\conf\buildAgent.properties" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CURRENT_DIR=C:\BuildAgent\bin" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_JAVA_EXEC=C:\BuildAgent\jre\bin\java.exe" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_LOG_DIR=../logs/" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_MEM_OPTS_ACTUAL=-Xmx384m" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_OPTS_ACTUAL=-ea -Xmx384m -Dlog4j.configuration=file:../conf/teamcity-agent-log4j.xml -Dteamcity_logs=../logs/" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_START_EXEC=start /min" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILD_PROPERTIES_FILE=C:\BuildAgent\temp\buildTmp\teamcity.build16510355651824925010.properties" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILDCONF_NAME=DailyBuild" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_CAPTURE_ENV="C:\BuildAgent\jre\bin\java.exe" -jar "C:\BuildAgent\plugins\environment-fetcher\bin\env-fetcher.jar"" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_JRE=C:\BuildAgent\jre" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_CLASSPATH=..\launcher\lib\launcher.jar" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_MEM_OPTS_ACTUAL=-Xms16m -Xmx64m" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_OPTS_ACTUAL=-ea -Xms16m -Xmx64m" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_MSBUILD_LOGGER=C:\BuildAgent\plugins\dotnet\tools\msbuild15\TeamCity.MSBuild.Logger.dll" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_FLOW_ID=" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_PARENT_FLOW_ID=" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROJECT_NAME=CytExpert for DxFLEX (FDA)" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VERSION=2021.2 (build 99542)" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VSTEST_LOGGER=C:\BuildAgent\plugins\dotnet\tools\vstest15\TeamCity.VSTest.TestAdapter.dll" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEMP=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "TMP=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "TMPDIR=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "UseSharedCompilation=false" (set value)
[11:22:13][MSBuild] DEBUG: SET "windir=C:\Windows" (set value)
[11:22:13][MSBuild] DEBUG: SET "WIX=C:\Program Files (x86)\WiX Toolset v3.11\" (set value)
[11:22:13][MSBuild] DEBUG: Environment::Override environment variables from source environment
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (auto override:"C:\Users\<UserName>\AppData\Roaming")
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (auto override:"C:\Users\<UserName>\AppData\Local")
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (auto override:"C:\Users\<UserName>\OneDrive")
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (concat paths)
[11:22:13][MSBuild] DEBUG: source path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools
[11:22:13][MSBuild] DEBUG: additional path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (auto override:"<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (auto override:"<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (auto override:"<UserName>")
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (auto override:"C:\Users\<UserName>")
[11:22:13][MSBuild] DEBUG: Environment::CreateFormList
[11:22:13][MSBuild] DEBUG: Environment::Apply
[11:22:13][MSBuild] DEBUG: ProcessTracker::InitializeConsoleRedirection
[11:22:13][MSBuild] DEBUG: ::CreateProcessWithLogonW
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit
[11:22:13][MSBuild] DEBUG: Output:
[11:22:13][MSBuild] DEBUG:
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit finished
[11:22:13][MSBuild] DEBUG: Runner::Run finished
[11:22:13][MSBuild] DEBUG: main::Run finished
[11:22:13][MSBuild] DEBUG: main::Create resultsJetBrains RunAs x64 1.0.0.061
[11:22:13][MSBuild] Copyright (C) 2017 JetBrains. All rights reserved.
[11:22:13][MSBuild] Runs a process under the specified windows user account.
[11:22:13][MSBuild]
[11:22:13][MSBuild]
[11:22:13][MSBuild] Argument(s): -i:auto -l:errors -p:***** -c:C:\BuildAgent\temp\buildTmp\dUQaygt2iwFhi5zCZLAeGng99VpIqace.args -b:-10000 cmd.exe /C type nul > runAs-18288-13405.tmp
[11:22:13][MSBuild]
[11:22:13][MSBuild]
[11:22:13][MSBuild] Settings:
[11:22:13][MSBuild]
[11:22:13][MSBuild] user_name: <UserName>
[11:22:13][MSBuild] domain: .
[11:22:13][MSBuild] working_directory: C:\BuildAgent\temp\buildTmp
[11:22:13][MSBuild] exit_code_base: -10000
[11:22:13][MSBuild] integrity_level: high
[11:22:13][MSBuild] inheritance_mode: auto
[11:22:13][MSBuild] show_mode: hide
[11:22:13][MSBuild] self_testing: 0
[11:22:13][MSBuild] executable: cmd.exe
[11:22:13][MSBuild] command_line_args: /C "type nul > runAs-18288-13405.tmp"
[11:22:13][MSBuild] DEBUG: Exit code: 0
[11:22:13][MSBuild] DEBUG: JetBrains RunAs x64 1.0.0.061
[11:22:13][MSBuild] DEBUG: main::Run starting
[11:22:13][MSBuild] DEBUG: Runner::Create a job
[11:22:13][MSBuild] DEBUG: Runner::Configure all child processes associated with the job to terminate when the parent is terminated
[11:22:13][MSBuild] DEBUG: Job::SetInformation
[11:22:13][MSBuild] DEBUG: Runner::Assign the current process to the job
[11:22:13][MSBuild] DEBUG: Job::AssignProcessToJob
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses
[11:22:13][MSBuild] DEBUG: SelfTest::GetStatistic
[11:22:13][MSBuild] DEBUG: Token groups:
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: S-1-5-21-3605726991-219976199-1557596913-513 (<MachineName>\None)
[11:22:13][MSBuild] DEBUG: S-1-1-0
[11:22:13][MSBuild] DEBUG: S-1-5-114
[11:22:13][MSBuild] DEBUG: S-1-5-32-544 (BUILTIN\Administrators)
[11:22:13][MSBuild] DEBUG: S-1-5-32-555
[11:22:13][MSBuild] DEBUG: S-1-5-32-559
[11:22:13][MSBuild] DEBUG: S-1-5-32-545 (BUILTIN\Users)
[11:22:13][MSBuild] DEBUG: S-1-5-4
[11:22:13][MSBuild] DEBUG: S-1-2-1
[11:22:13][MSBuild] DEBUG: S-1-5-11
[11:22:13][MSBuild] DEBUG: S-1-5-15 (NT AUTHORITY\This Organization)
[11:22:13][MSBuild] DEBUG: S-1-5-113 (NT AUTHORITY\Local account)
[11:22:13][MSBuild] DEBUG: S-1-5-5-0-285552
[11:22:13][MSBuild] DEBUG: S-1-2-0 (LOCAL)
[11:22:13][MSBuild] DEBUG: S-1-5-64-10
[11:22:13][MSBuild] DEBUG: S-1-16-8192
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::IsService: 0
[11:22:13][MSBuild] DEBUG: SelfTest::HasAdministrativePrivileges: 0
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::HasPrivilege(SE_ASSIGNPRIMARYTOKEN_NAME): 0
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::HasPrivilege(SE_TCB_NAME): 0
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the required buffer size.
[11:22:13][MSBuild] DEBUG: SecurityManager::GetTokenInformation - Get the token information from the access token.
[11:22:13][MSBuild] DEBUG: SelfTest::GetIntegrityLevel: medium
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses settings.GetIntegrityLevel() = high
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses statistic.GetIntegrityLevel() = medium
[11:22:13][MSBuild] DEBUG: ProcessesSelector::SelectProcesses push ProcessWithLogon
[11:22:13][MSBuild] DEBUG: ::GetStdHandle(STD_OUTPUT_HANDLE)
[11:22:13][MSBuild] DEBUG: ::GetStdHandle(STD_ERROR_HANDLE)
[11:22:13][MSBuild] DEBUG: ProcessWithLogon::Run
[11:22:13][MSBuild] DEBUG: ProcessWithLogon::Get calling process Environment
[11:22:13][MSBuild] DEBUG: Environment::CreateForCurrentProcess
[11:22:13][MSBuild] DEBUG: SET "=::=::\" (from API results)
[11:22:13][MSBuild] DEBUG: SET "=C:=C:\BuildAgent\work\9a087f2303dd9f3d" (from API results)
[11:22:13][MSBuild] DEBUG: SET "=ExitCode=00000000" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ALLUSERSPROFILE=C:\ProgramData" (from API results)
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (from API results)
[11:22:13][MSBuild] DEBUG: SET "BUILD_NUMBER=13" (from API results)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER=192f6a7762808c93bf58a03142f9d47693d6e1db" (from API results)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER_CytExpertForDxFLEXFda_Dev=192f6a7762808c93bf58a03142f9d47693d6e1db" (from API results)
[11:22:13][MSBuild] DEBUG: SET "CMD_PATH="cmd.exe" " (from API results)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles=C:\Program Files\Common Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramW6432=C:\Program Files\Common Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "COMPlus_EnableDiagnostics=0" (from API results)
[11:22:13][MSBuild] DEBUG: SET "COMPUTERNAME=<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ComSpec=C:\Windows\system32\cmd.exe" (from API results)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_CLI_TELEMETRY_OPTOUT=true" (from API results)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true" (from API results)
[11:22:13][MSBuild] DEBUG: SET "DriverData=C:\Windows\System32\Drivers\DriverData" (from API results)
[11:22:13][MSBuild] DEBUG: SET "EXIT_CODE=64" (from API results)
[11:22:13][MSBuild] DEBUG: SET "FORCE_NUGET_EXE_INTERACTIVE=" (from API results)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer" (from API results)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_USER_PROFILE_STRING=Default" (from API results)
[11:22:13][MSBuild] DEBUG: SET "HOMEDRIVE=C:" (from API results)
[11:22:13][MSBuild] DEBUG: SET "HOMEPATH=\Users\<UserName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (from API results)
[11:22:13][MSBuild] DEBUG: SET "LOGONSERVER=\\<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "NUGET_PLUGIN_PATHS=C:\BuildAgent\plugins\nuget-agent\bin\credential-plugin\net46\CredentialProvider.TeamCity.exe" (from API results)
[11:22:13][MSBuild] DEBUG: SET "NUGET_XMLDOC_MODE=skip" (from API results)
[11:22:13][MSBuild] DEBUG: SET "NUMBER_OF_PROCESSORS=8" (from API results)
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (from API results)
[11:22:13][MSBuild] DEBUG: SET "OS=Windows_NT" (from API results)
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_ARCHITECTURE=AMD64" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_LEVEL=6" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_REVISION=5e03" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramData=C:\ProgramData" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles=C:\Program Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles(x86)=C:\Program Files (x86)" (from API results)
[11:22:13][MSBuild] DEBUG: SET "ProgramW6432=C:\Program Files" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PROMPT=$P$G" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules" (from API results)
[11:22:13][MSBuild] DEBUG: SET "PUBLIC=C:\Users\Public" (from API results)
[11:22:13][MSBuild] DEBUG: SET "RUN_AS_PATH="C:\BuildAgent\plugins\runAs-agent\bin\x64\JetBrains.runAs.exe"" (from API results)
[11:22:13][MSBuild] DEBUG: SET "SESSIONNAME=Console" (from API results)
[11:22:13][MSBuild] DEBUG: SET "SystemDrive=C:" (from API results)
[11:22:13][MSBuild] DEBUG: SET "SystemRoot=C:\Windows" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CONFIG_FILE=..\conf\buildAgent.properties" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CURRENT_DIR=C:\BuildAgent\bin" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_JAVA_EXEC=C:\BuildAgent\jre\bin\java.exe" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_LOG_DIR=../logs/" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_MEM_OPTS_ACTUAL=-Xmx384m" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_OPTS_ACTUAL=-ea -Xmx384m -Dlog4j.configuration=file:../conf/teamcity-agent-log4j.xml -Dteamcity_logs=../logs/" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_START_EXEC=start /min" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILDCONF_NAME=DailyBuild" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILD_PROPERTIES_FILE=C:\BuildAgent\temp\buildTmp\teamcity.build16510355651824925010.properties" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_CAPTURE_ENV="C:\BuildAgent\jre\bin\java.exe" -jar "C:\BuildAgent\plugins\environment-fetcher\bin\env-fetcher.jar"" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_JRE=C:\BuildAgent\jre" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_CLASSPATH=..\launcher\lib\launcher.jar" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_MEM_OPTS_ACTUAL=-Xms16m -Xmx64m" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_OPTS_ACTUAL=-ea -Xms16m -Xmx64m" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_MSBUILD_LOGGER=C:\BuildAgent\plugins\dotnet\tools\msbuild15\TeamCity.MSBuild.Logger.dll" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_FLOW_ID=" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_PARENT_FLOW_ID=" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROJECT_NAME=CytExpert for DxFLEX (FDA)" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VERSION=2021.2 (build 99542)" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VSTEST_LOGGER=C:\BuildAgent\plugins\dotnet\tools\vstest15\TeamCity.VSTest.TestAdapter.dll" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TEMP=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TMP=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "TMPDIR=C:\BuildAgent\temp\buildTmp" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (from API results)
[11:22:13][MSBuild] DEBUG: SET "UseSharedCompilation=false" (from API results)
[11:22:13][MSBuild] DEBUG: SET "windir=C:\Windows" (from API results)
[11:22:13][MSBuild] DEBUG: SET "WIX=C:\Program Files (x86)\WiX Toolset v3.11\" (from API results)
[11:22:13][MSBuild] DEBUG: ProcessWithLogon::Get target user environment
[11:22:13][MSBuild] DEBUG: ProcessTracker::InitializeConsoleRedirection
[11:22:13][MSBuild] DEBUG: ::CreateProcessWithLogonW
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit
[11:22:13][MSBuild] DEBUG: Output:
[11:22:13][MSBuild] DEBUG:
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit finished
[11:22:13][MSBuild] DEBUG: Environment::CreateFormString
[11:22:13][MSBuild] DEBUG: Environment::CreateFormList
[11:22:13][MSBuild] DEBUG: SET "ALLUSERSPROFILE=C:\ProgramData" (from strings: "ALLUSERSPROFILE=C:\ProgramData")
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (from strings: "APPDATA=C:\Users\<UserName>\AppData\Roaming")
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles=C:\Program Files\Common Files" (from strings: "CommonProgramFiles=C:\Program Files\Common Files")
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" (from strings: "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files")
[11:22:13][MSBuild] DEBUG: SET "CommonProgramW6432=C:\Program Files\Common Files" (from strings: "CommonProgramW6432=C:\Program Files\Common Files")
[11:22:13][MSBuild] DEBUG: SET "COMPUTERNAME=<MachineName>" (from strings: "COMPUTERNAME=<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "ComSpec=C:\Windows\system32\cmd.exe" (from strings: "ComSpec=C:\Windows\system32\cmd.exe")
[11:22:13][MSBuild] DEBUG: SET "DriverData=C:\Windows\System32\Drivers\DriverData" (from strings: "DriverData=C:\Windows\System32\Drivers\DriverData")
[11:22:13][MSBuild] DEBUG: SET "HOMEDRIVE=C:" (from strings: "HOMEDRIVE=C:")
[11:22:13][MSBuild] DEBUG: SET "HOMEPATH=\Users\<UserName>" (from strings: "HOMEPATH=\Users\<UserName>")
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (from strings: "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local")
[11:22:13][MSBuild] DEBUG: SET "LOGONSERVER=\\<MachineName>" (from strings: "LOGONSERVER=\\<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "NUMBER_OF_PROCESSORS=8" (from strings: "NUMBER_OF_PROCESSORS=8")
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (from strings: "OneDrive=C:\Users\<UserName>\OneDrive")
[11:22:13][MSBuild] DEBUG: SET "OS=Windows_NT" (from strings: "OS=Windows_NT")
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (from strings: "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools")
[11:22:13][MSBuild] DEBUG: SET "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (from strings: "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_ARCHITECTURE=AMD64" (from strings: "PROCESSOR_ARCHITECTURE=AMD64")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel" (from strings: "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_LEVEL=6" (from strings: "PROCESSOR_LEVEL=6")
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_REVISION=5e03" (from strings: "PROCESSOR_REVISION=5e03")
[11:22:13][MSBuild] DEBUG: SET "ProgramData=C:\ProgramData" (from strings: "ProgramData=C:\ProgramData")
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles=C:\Program Files" (from strings: "ProgramFiles=C:\Program Files")
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles(x86)=C:\Program Files (x86)" (from strings: "ProgramFiles(x86)=C:\Program Files (x86)")
[11:22:13][MSBuild] DEBUG: SET "ProgramW6432=C:\Program Files" (from strings: "ProgramW6432=C:\Program Files")
[11:22:13][MSBuild] DEBUG: SET "PROMPT=$P$G" (from strings: "PROMPT=$P$G")
[11:22:13][MSBuild] DEBUG: SET "PSModulePath=%ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules" (from strings: "PSModulePath=%ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules")
[11:22:13][MSBuild] DEBUG: SET "PUBLIC=C:\Users\Public" (from strings: "PUBLIC=C:\Users\Public")
[11:22:13][MSBuild] DEBUG: SET "SystemDrive=C:" (from strings: "SystemDrive=C:")
[11:22:13][MSBuild] DEBUG: SET "SystemRoot=C:\Windows" (from strings: "SystemRoot=C:\Windows")
[11:22:13][MSBuild] DEBUG: SET "TEMP=C:\Users\<UserName>\AppData\Local\Temp" (from strings: "TEMP=C:\Users\<UserName>\AppData\Local\Temp")
[11:22:13][MSBuild] DEBUG: SET "TMP=C:\Users\<UserName>\AppData\Local\Temp" (from strings: "TMP=C:\Users\<UserName>\AppData\Local\Temp")
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (from strings: "USERDOMAIN=<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (from strings: "USERDOMAIN_ROAMINGPROFILE=<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (from strings: "USERNAME=<UserName>")
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (from strings: "USERPROFILE=C:\Users\<UserName>")
[11:22:13][MSBuild] DEBUG: SET "windir=C:\Windows" (from strings: "windir=C:\Windows")
[11:22:13][MSBuild] DEBUG: SET "WIX=C:\Program Files (x86)\WiX Toolset v3.11\" (from strings: "WIX=C:\Program Files (x86)\WiX Toolset v3.11\")
[11:22:13][MSBuild] DEBUG: Environment::Override
[11:22:13][MSBuild] DEBUG: Environment::Copy environment variables from base environment
[11:22:13][MSBuild] DEBUG: SET "=::=::\" (set value)
[11:22:13][MSBuild] DEBUG: SET "=C:=C:\BuildAgent\work\9a087f2303dd9f3d" (set value)
[11:22:13][MSBuild] DEBUG: SET "=ExitCode=00000000" (set value)
[11:22:13][MSBuild] DEBUG: SET "ALLUSERSPROFILE=C:\ProgramData" (set value)
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (set value)
[11:22:13][MSBuild] DEBUG: SET "BUILD_NUMBER=13" (set value)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER=192f6a7762808c93bf58a03142f9d47693d6e1db" (set value)
[11:22:13][MSBuild] DEBUG: SET "BUILD_VCS_NUMBER_CytExpertForDxFLEXFda_Dev=192f6a7762808c93bf58a03142f9d47693d6e1db" (set value)
[11:22:13][MSBuild] DEBUG: SET "CMD_PATH="cmd.exe" " (set value)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles=C:\Program Files\Common Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "CommonProgramW6432=C:\Program Files\Common Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "COMPlus_EnableDiagnostics=0" (set value)
[11:22:13][MSBuild] DEBUG: SET "COMPUTERNAME=<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "ComSpec=C:\Windows\system32\cmd.exe" (set value)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_CLI_TELEMETRY_OPTOUT=true" (set value)
[11:22:13][MSBuild] DEBUG: SET "DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true" (set value)
[11:22:13][MSBuild] DEBUG: SET "DriverData=C:\Windows\System32\Drivers\DriverData" (set value)
[11:22:13][MSBuild] DEBUG: SET "EXIT_CODE=64" (set value)
[11:22:13][MSBuild] DEBUG: SET "FORCE_NUGET_EXE_INTERACTIVE=" (set value)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer" (set value)
[11:22:13][MSBuild] DEBUG: SET "FPS_BROWSER_USER_PROFILE_STRING=Default" (set value)
[11:22:13][MSBuild] DEBUG: SET "HOMEDRIVE=C:" (set value)
[11:22:13][MSBuild] DEBUG: SET "HOMEPATH=\Users\<UserName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (set value)
[11:22:13][MSBuild] DEBUG: SET "LOGONSERVER=\\<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "NUGET_PLUGIN_PATHS=C:\BuildAgent\plugins\nuget-agent\bin\credential-plugin\net46\CredentialProvider.TeamCity.exe" (set value)
[11:22:13][MSBuild] DEBUG: SET "NUGET_XMLDOC_MODE=skip" (set value)
[11:22:13][MSBuild] DEBUG: SET "NUMBER_OF_PROCESSORS=8" (set value)
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (set value)
[11:22:13][MSBuild] DEBUG: SET "OS=Windows_NT" (set value)
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (set value)
[11:22:13][MSBuild] DEBUG: SET "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_ARCHITECTURE=AMD64" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_LEVEL=6" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROCESSOR_REVISION=5e03" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramData=C:\ProgramData" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles=C:\Program Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramFiles(x86)=C:\Program Files (x86)" (set value)
[11:22:13][MSBuild] DEBUG: SET "ProgramW6432=C:\Program Files" (set value)
[11:22:13][MSBuild] DEBUG: SET "PROMPT=$P$G" (set value)
[11:22:13][MSBuild] DEBUG: SET "PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules" (set value)
[11:22:13][MSBuild] DEBUG: SET "PUBLIC=C:\Users\Public" (set value)
[11:22:13][MSBuild] DEBUG: SET "RUN_AS_PATH="C:\BuildAgent\plugins\runAs-agent\bin\x64\JetBrains.runAs.exe"" (set value)
[11:22:13][MSBuild] DEBUG: SET "SESSIONNAME=Console" (set value)
[11:22:13][MSBuild] DEBUG: SET "SystemDrive=C:" (set value)
[11:22:13][MSBuild] DEBUG: SET "SystemRoot=C:\Windows" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CONFIG_FILE=..\conf\buildAgent.properties" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_CURRENT_DIR=C:\BuildAgent\bin" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_JAVA_EXEC=C:\BuildAgent\jre\bin\java.exe" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_LOG_DIR=../logs/" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_MEM_OPTS_ACTUAL=-Xmx384m" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_OPTS_ACTUAL=-ea -Xmx384m -Dlog4j.configuration=file:../conf/teamcity-agent-log4j.xml -Dteamcity_logs=../logs/" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_AGENT_START_EXEC=start /min" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILD_PROPERTIES_FILE=C:\BuildAgent\temp\buildTmp\teamcity.build16510355651824925010.properties" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_BUILDCONF_NAME=DailyBuild" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_CAPTURE_ENV="C:\BuildAgent\jre\bin\java.exe" -jar "C:\BuildAgent\plugins\environment-fetcher\bin\env-fetcher.jar"" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_JRE=C:\BuildAgent\jre" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_CLASSPATH=..\launcher\lib\launcher.jar" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_MEM_OPTS_ACTUAL=-Xms16m -Xmx64m" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_LAUNCHER_OPTS_ACTUAL=-ea -Xms16m -Xmx64m" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_MSBUILD_LOGGER=C:\BuildAgent\plugins\dotnet\tools\msbuild15\TeamCity.MSBuild.Logger.dll" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_FLOW_ID=" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROCESS_PARENT_FLOW_ID=" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_PROJECT_NAME=CytExpert for DxFLEX (FDA)" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VERSION=2021.2 (build 99542)" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEAMCITY_VSTEST_LOGGER=C:\BuildAgent\plugins\dotnet\tools\vstest15\TeamCity.VSTest.TestAdapter.dll" (set value)
[11:22:13][MSBuild] DEBUG: SET "TEMP=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "TMP=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "TMPDIR=C:\BuildAgent\temp\buildTmp" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (set value)
[11:22:13][MSBuild] DEBUG: SET "UseSharedCompilation=false" (set value)
[11:22:13][MSBuild] DEBUG: SET "windir=C:\Windows" (set value)
[11:22:13][MSBuild] DEBUG: SET "WIX=C:\Program Files (x86)\WiX Toolset v3.11\" (set value)
[11:22:13][MSBuild] DEBUG: Environment::Override environment variables from source environment
[11:22:13][MSBuild] DEBUG: SET "APPDATA=C:\Users\<UserName>\AppData\Roaming" (auto override:"C:\Users\<UserName>\AppData\Roaming")
[11:22:13][MSBuild] DEBUG: SET "LOCALAPPDATA=C:\Users\<UserName>\AppData\Local" (auto override:"C:\Users\<UserName>\AppData\Local")
[11:22:13][MSBuild] DEBUG: SET "OneDrive=C:\Users\<UserName>\OneDrive" (auto override:"C:\Users\<UserName>\OneDrive")
[11:22:13][MSBuild] DEBUG: SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools" (concat paths)
[11:22:13][MSBuild] DEBUG: source path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools
[11:22:13][MSBuild] DEBUG: additional path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Users\<UserName>\AppData\Local\Microsoft\WindowsApps;C:\Users\<UserName>\.dotnet\tools
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN=<MachineName>" (auto override:"<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERDOMAIN_ROAMINGPROFILE=<MachineName>" (auto override:"<MachineName>")
[11:22:13][MSBuild] DEBUG: SET "USERNAME=<UserName>" (auto override:"<UserName>")
[11:22:13][MSBuild] DEBUG: SET "USERPROFILE=C:\Users\<UserName>" (auto override:"C:\Users\<UserName>")
[11:22:13][MSBuild] DEBUG: Environment::CreateFormList
[11:22:13][MSBuild] DEBUG: Environment::Apply
[11:22:13][MSBuild] DEBUG: ProcessTracker::InitializeConsoleRedirection
[11:22:13][MSBuild] DEBUG: ::CreateProcessWithLogonW
[11:22:13][MSBuild] DEBUG: ProcessTracker::WaiteForExit
[11:22:13][MSBuild] DEBUG: Output:
What did I miss to ensure the runas plugin works with the administrator's permission? From below log, it seems there is no admin right
[11:22:13][MSBuild] DEBUG: SelfTest::HasAdministrativePrivileges: 0
The build agent is not installed as a windows service, it is only installed as a console.
Please sign in to leave a comment.