2021-02-18T12:22:04.4878301Z ##[debug]Evaluating condition for step: 'Build solution StockManagement.sln'
2021-02-18T12:22:04.4880539Z ##[debug]Evaluating: succeeded()
2021-02-18T12:22:04.4881075Z ##[debug]Evaluating succeeded:
2021-02-18T12:22:04.4882209Z ##[debug]=> True
2021-02-18T12:22:04.4882839Z ##[debug]Result: True
2021-02-18T12:22:04.4883762Z ##[section]Starting: Build solution StockManagement.sln
2021-02-18T12:22:04.5320604Z ##[debug]Extracting task MSBuild from C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_taskzips\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824_1.179.0.zip to C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0.
2021-02-18T12:22:16.0240498Z ==============================================================================
2021-02-18T12:22:16.0240862Z Task : MSBuild
2021-02-18T12:22:16.0241101Z Description : Build with MSBuild
2021-02-18T12:22:16.0241304Z Version : 1.179.0
2021-02-18T12:22:16.0241538Z Author : Microsoft Corporation
2021-02-18T12:22:16.0241912Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/msbuild
2021-02-18T12:22:16.0242271Z ==============================================================================
2021-02-18T12:22:17.6015390Z ##[debug]VstsTaskSdk 0.8.2 commit
2021-02-18T12:22:18.0280607Z ##[debug]Entering C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\MSBuild.ps1.
2021-02-18T12:22:18.0295001Z ##[debug]Loading resource strings from: C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\Task.json
2021-02-18T12:22:18.0296918Z ##[debug]Loaded 3 strings.
2021-02-18T12:22:18.0297735Z ##[debug]SYSTEM_CULTURE: 'en-US'
2021-02-18T12:22:18.0337396Z ##[debug]Loading resource strings from: C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\Strings\resources.resjson\en-US\resources.resjson
2021-02-18T12:22:18.0938914Z ##[debug]Loaded 3 strings.
2021-02-18T12:22:18.0973472Z ##[debug]SYSTEM_DEBUG: 'true'
2021-02-18T12:22:18.1034932Z ##[debug] Converted to bool: True
2021-02-18T12:22:18.1723993Z ##[debug]INPUT_MSBUILDLOCATIONMETHOD: 'location'
2021-02-18T12:22:18.1732854Z ##[debug]INPUT_MSBUILDLOCATION: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'
2021-02-18T12:22:18.1733810Z ##[debug]INPUT_MSBUILDARGUMENTS (empty)
2021-02-18T12:22:18.1789980Z ##[debug]INPUT_SOLUTION: 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln'
2021-02-18T12:22:18.2117772Z ##[debug]INPUT_PLATFORM (empty)
2021-02-18T12:22:18.2893557Z ##[debug]INPUT_CONFIGURATION (empty)
2021-02-18T12:22:18.2940036Z ##[debug]INPUT_CLEAN: 'false'
2021-02-18T12:22:18.2946698Z ##[debug] Converted to bool: False
2021-02-18T12:22:18.2948623Z ##[debug]INPUT_MAXIMUMCPUCOUNT: 'false'
2021-02-18T12:22:18.3020746Z ##[debug] Converted to bool: False
2021-02-18T12:22:18.3176538Z ##[debug]INPUT_RESTORENUGETPACKAGES: 'false'
2021-02-18T12:22:18.3183547Z ##[debug] Converted to bool: False
2021-02-18T12:22:18.3257711Z ##[debug]INPUT_LOGPROJECTEVENTS: 'false'
2021-02-18T12:22:18.3310703Z ##[debug] Converted to bool: False
2021-02-18T12:22:18.3583671Z ##[debug]INPUT_CREATELOGFILE: 'false'
2021-02-18T12:22:18.3621149Z ##[debug] Converted to bool: False
2021-02-18T12:22:18.3714100Z ##[debug]INPUT_MSBUILDVERSION: '15.0'
2021-02-18T12:22:18.3716952Z ##[debug]INPUT_MSBUILDARCHITECTURE: 'x86'
2021-02-18T12:22:18.3761269Z ##[debug]Loading module from path 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\MSBuildHelpers.psm1'.
2021-02-18T12:22:18.4119951Z ##[debug]Loading resource strings from: C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\module.json
2021-02-18T12:22:18.4133456Z ##[debug]Loaded 9 strings.
2021-02-18T12:22:18.7255368Z ##[debug]SYSTEM_CULTURE: 'en-US'
2021-02-18T12:22:18.7966749Z ##[debug]Loading resource strings from: C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\Strings\resources.resjson\en-US\resources.resjson
2021-02-18T12:22:18.8057715Z ##[debug]Loaded 9 strings.
2021-02-18T12:22:18.8392709Z ##[debug]Exporting function 'Format-MSBuildArguments'.
2021-02-18T12:22:18.8399191Z ##[debug]Exporting function 'Invoke-BuildTools'.
2021-02-18T12:22:18.8427402Z ##[debug]Exporting function 'Get-MSBuildPath'.
2021-02-18T12:22:18.8481797Z ##[debug]Exporting function 'Get-SolutionFiles'.
2021-02-18T12:22:18.8485747Z ##[debug]Exporting function 'Get-VisualStudio'.
2021-02-18T12:22:18.8516758Z ##[debug]Exporting function 'Select-MSBuildPath'.
2021-02-18T12:22:18.8571630Z ##[debug]Importing function 'Format-MSBuildArguments'.
2021-02-18T12:22:18.8577082Z ##[debug]Importing function 'Get-MSBuildPath'.
2021-02-18T12:22:18.8604685Z ##[debug]Importing function 'Get-SolutionFiles'.
2021-02-18T12:22:18.8686799Z ##[debug]Importing function 'Get-VisualStudio'.
2021-02-18T12:22:18.8690597Z ##[debug]Importing function 'Invoke-BuildTools'.
2021-02-18T12:22:18.8754854Z ##[debug]Importing function 'Select-MSBuildPath'.
2021-02-18T12:22:18.9161090Z ##[debug]Entering Get-SolutionFiles.
2021-02-18T12:22:18.9191018Z ##[debug] Solution: 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln'
2021-02-18T12:22:18.9223593Z ##[debug]Leaving Get-SolutionFiles.
2021-02-18T12:22:18.9226083Z ##[debug]Entering Format-MSBuildArguments.
2021-02-18T12:22:18.9226951Z ##[debug] MSBuildArguments: ''
2021-02-18T12:22:18.9258309Z ##[debug] Platform: ''
2021-02-18T12:22:18.9455278Z ##[debug] Configuration: ''
2021-02-18T12:22:20.7514221Z ##[debug] MaximumCpuCount: 'False'
2021-02-18T12:22:20.7514971Z ##[debug]AZURE_HTTP_USER_AGENT: 'VSTS_ae9d253d-2f67-4f32-9967-30c71a6197c8_build_58_0'
2021-02-18T12:22:20.7521032Z ##[debug]Leaving Format-MSBuildArguments.
2021-02-18T12:22:20.7521714Z ##[debug]Entering Select-MSBuildPath.
2021-02-18T12:22:20.7522347Z ##[debug] Method: 'location'
2021-02-18T12:22:20.7523967Z ##[debug] Location: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'
2021-02-18T12:22:20.7526766Z ##[debug] PreferredVersion: '15.0'
2021-02-18T12:22:20.7527532Z ##[debug] Architecture: 'x86'
2021-02-18T12:22:20.7528327Z ##[debug]Leaving Select-MSBuildPath.
2021-02-18T12:22:20.7528934Z ##[debug]Entering Invoke-BuildTools.
2021-02-18T12:22:20.7529408Z ##[debug] NuGetRestore: 'False'
2021-02-18T12:22:20.7530155Z ##[debug] SolutionFiles: 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln'
2021-02-18T12:22:20.7530805Z ##[debug] MSBuildLocation: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'
2021-02-18T12:22:20.7531616Z ##[debug] MSBuildArguments: ' /p:_MSDeployUserAgent="VSTS_ae9d253d-2f67-4f32-9967-30c71a6197c8_build_58_0"'
2021-02-18T12:22:20.7532480Z ##[debug] Clean: 'False'
2021-02-18T12:22:20.7532898Z ##[debug] NoTimelineLogger: 'True'
2021-02-18T12:22:20.7533335Z ##[debug] CreateLogFile: 'True'
2021-02-18T12:22:20.7533791Z ##[debug] LogFileVerbosity: 'diagnostic'
2021-02-18T12:22:20.7534223Z ##[debug]Entering Invoke-MSBuild.
2021-02-18T12:22:20.7534732Z ##[debug] ProjectFile: 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln'
2021-02-18T12:22:20.7535386Z ##[debug] MSBuildPath: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'
2021-02-18T12:22:20.7536426Z ##[debug] AdditionalArguments: ' /p:_MSDeployUserAgent="VSTS_ae9d253d-2f67-4f32-9967-30c71a6197c8_build_58_0"'
2021-02-18T12:22:20.7537195Z ##[debug] NoTimelineLogger: 'True'
2021-02-18T12:22:20.7537831Z ##[debug] LogFileVerbosity: 'diagnostic'
2021-02-18T12:22:20.7538395Z ##[debug] LogFile: 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.log'
2021-02-18T12:22:20.7539222Z ##[debug]Asserting leaf path exists: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe'
2021-02-18T12:22:20.7540058Z ##[debug]Asserting leaf path exists: 'C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll'
2021-02-18T12:22:20.7541695Z ##[debug]Entering Invoke-VstsTool.
2021-02-18T12:22:20.7542209Z ##[debug] FileName: 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe'
2021-02-18T12:22:20.7544051Z ##[debug] Arguments: '"C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln" /nologo /nr:false /fl /flp:"logfile=C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.log;verbosity=diagnostic" /dl:CentralLogger,"C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=|SolutionDir=C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s"*ForwardingLogger,"C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /p:_MSDeployUserAgent="VSTS_ae9d253d-2f67-4f32-9967-30c71a6197c8_build_58_0"'
2021-02-18T12:22:20.7546030Z ##[debug] RequireExitCodeZero: 'True'
2021-02-18T12:22:20.7548253Z ##[command]"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe" "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln" /nologo /nr:false /fl /flp:"logfile=C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.log;verbosity=diagnostic" /dl:CentralLogger,"C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=|SolutionDir=C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s"*ForwardingLogger,"C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /p:_MSDeployUserAgent="VSTS_ae9d253d-2f67-4f32-9967-30c71a6197c8_build_58_0"
2021-02-18T12:22:20.7549961Z Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
2021-02-18T12:22:20.7550327Z Build started 2/18/2021 12:22:19 PM.
2021-02-18T12:22:20.7550730Z Project "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln" on node 1 (default targets).
2021-02-18T12:22:20.7551122Z ValidateSolutionConfiguration:
2021-02-18T12:22:20.7551411Z Building solution configuration "Debug|Any CPU".
2021-02-18T12:22:20.7554457Z ##[debug]Processed: ##vso[task.logdetail id=f886f346-7421-47ae-bdc0-c98ae4c9a7f4;parentid=;name=StockManagement.sln.metaproj;type=Build;starttime=2021-02-18T12:22:19.6274246Z;state=InProgress;]
2021-02-18T12:22:20.7559261Z ##[error]C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.metaproj(0,0): Error MSB3202: The project file "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement\StockManagement.csproj" was not found.
2021-02-18T12:22:20.7561157Z ##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.metaproj;linenumber=0;columnnumber=0;code=MSB3202;]The project file "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement\StockManagement.csproj" was not found.
2021-02-18T12:22:20.7563845Z ##[debug]Processed: ##vso[task.logdetail id=f886f346-7421-47ae-bdc0-c98ae4c9a7f4;parentid=;type=Build;result=Failed;finishtime=2021-02-18T12:22:20.7465099Z;progress=100;state=Completed;parentid=;name=;]
2021-02-18T12:22:20.7565013Z C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.metaproj : error MSB3202: The project file "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement\StockManagement.csproj" was not found. [C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln]
2021-02-18T12:22:20.7566678Z Done Building Project "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln" (default targets) -- FAILED.
2021-02-18T12:22:20.7627308Z
2021-02-18T12:22:20.7627984Z Build FAILED.
2021-02-18T12:22:20.7643297Z
2021-02-18T12:22:20.7643983Z "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln" (default target) (1) ->
2021-02-18T12:22:20.7644524Z (Build target) ->
2021-02-18T12:22:20.7647857Z C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.metaproj : error MSB3202: The project file "C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement\StockManagement.csproj" was not found. [C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln]
2021-02-18T12:22:20.7682094Z
2021-02-18T12:22:20.7682737Z 0 Warning(s)
2021-02-18T12:22:20.7683160Z 1 Error(s)
2021-02-18T12:22:20.7720176Z
2021-02-18T12:22:20.7731473Z Time Elapsed 00:00:01.35
2021-02-18T12:22:20.7914003Z ##[debug]Exit code: 1
2021-02-18T12:22:20.9245437Z ##[debug]Error record:
2021-02-18T12:22:21.1298124Z ##[debug]Invoke-VstsTool : Process 'msbuild.exe' exited with code '1'.
2021-02-18T12:22:21.1301069Z ##[debug]At C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\InvokeFunctions.ps1:118 char:13
2021-02-18T12:22:21.1321051Z ##[debug]+ Invoke-VstsTool -FileName $MSBuildPath -Arguments $argume ...
2021-02-18T12:22:21.1591120Z ##[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-02-18T12:22:21.1641627Z ##[debug] + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
2021-02-18T12:22:21.1644468Z ##[debug] + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-VstsTool
2021-02-18T12:22:21.1646355Z ##[debug]
2021-02-18T12:22:21.1770021Z ##[debug]Script stack trace:
2021-02-18T12:22:21.1836302Z ##[debug]at Invoke-Tool, C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\VstsTaskSdk\ToolFunctions.ps1: line 86
2021-02-18T12:22:21.1838722Z ##[debug]at Invoke-MSBuild, C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\InvokeFunctions.ps1: line 118
2021-02-18T12:22:21.1857521Z ##[debug]at Invoke-BuildTools, C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\ps_modules\MSBuildHelpers\InvokeFunctions.ps1: line 41
2021-02-18T12:22:21.1892331Z ##[debug]at <ScriptBlock>, C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\MSBuild.ps1: line 47
2021-02-18T12:22:21.1895723Z ##[debug]at <ScriptBlock>, <No file>: line 1
2021-02-18T12:22:21.1914637Z ##[debug]at <ScriptBlock>, <No file>: line 22
2021-02-18T12:22:21.2085529Z ##[debug]at <ScriptBlock>, <No file>: line 18
2021-02-18T12:22:21.2095220Z ##[debug]at <ScriptBlock>, <No file>: line 1
2021-02-18T12:22:21.2096382Z ##[debug]Exception:
2021-02-18T12:22:21.2155701Z ##[debug]Microsoft.PowerShell.Commands.WriteErrorException: Process 'msbuild.exe' exited with code '1'.
2021-02-18T12:22:21.2490206Z ##[error]Process 'msbuild.exe' exited with code '1'.
2021-02-18T12:22:21.2491758Z ##[debug]Processed: ##vso[task.logissue type=error]Process 'msbuild.exe' exited with code '1'.
2021-02-18T12:22:21.2500269Z ##[debug]Leaving Invoke-VstsTool.
2021-02-18T12:22:21.2521793Z ##[debug]Processed: ##vso[task.complete result=Failed]
2021-02-18T12:22:21.2763553Z ##[debug]Processed: ##vso[task.uploadfile]C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\1\s\StockManagement.sln.log
2021-02-18T12:22:21.2786198Z ##[debug]Leaving Invoke-MSBuild.
2021-02-18T12:22:21.2787215Z ##[debug]Leaving Invoke-BuildTools.
2021-02-18T12:22:21.2802631Z ##[debug]Leaving C:\SonarAgent\vsts-agent-win-x64-2.181.2 (1)\_work\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.179.0\MSBuild.ps1.
2021-02-18T12:22:21.3535399Z ##[section]Finishing: Build solution StockManagement.sln
Hi @vishnu_G
as far as I understand from your logs the StockManagement\StockManagement.csproj
cannot be found. As this is a build problem I think it is not related to one of our products.
In any case, you should check that the project was cloned successfully at the right location (including any subprojects if needed) or if the path is correct in the StockManagement.sln
.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.