MSB1009:项目文件不存在。 [英] MSB1009: Project file does not exist.

查看:1355
本文介绍了MSB1009:项目文件不存在。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将CI介绍给我的新公司。他们正在使用VSTS,我在尝试理解为什么我尝试使用一个项目或直接映射到项目的解决方案时遇到问题。我收到"MSB1009:项目文件不存在。" 



我可以使用Visual Studio和命令行在本地编译。 有人可以告诉我我做错了什么。 TIA


以下是输出..


2016-10-27T18:38:31.3078127Z =========== ================================================== =================
$
2016-10-27T18:38:31.3078127Z任务         ; :Visual Studio Build

2016-10-27T18:38:31.3078127Z描述  :使用MSBuild构建并设置Visual Studio版本属性

2016-10-27T18:38:31.3078127Z版本      :1.0.45

2016-10-27T18:38:31.3078127Z作者       :Microsoft Corporation

2016-10-27T18:38:31.3078127Z帮助         :[更多信息](https://go.microsoft.com/fwlink/?LinkID=613727)

2016-10-27T18:38:31.3078127Z ========= ================================================== ===================
$
2016-10-27T18:38:31.3078127Z ## [debug] tf vc resolvePath $ \ LPS \\ \\ Scheduler \ Branches \v1.0 \ Source \ LPSScheduler.Web \ LPSScheduler.Web.csproj / loginType:OAuth /login:.,******** / noprompt

2016-10-27T18:38:33.1828039Z ## [调试] VstsTaskSdk 0.7.1提交f990f8d8df6197b1cfcec01031ba014ad4905681

2016-10-27T18:38:33.4484240Z ## [调试]输入C:\\ \\\\\\\\\\\\\\\\\\\\\\从以下位置加载资源字符串:C:\\\\_tasks \ VSSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \1.0.45 \Task.json

2016-10-27T18:38: 33.9952955Z ## [debug]已加载7个字符串。

2016-10-27T18:38:34.2140451Z ## [debug] SYSTEM_CULTURE:'en-US '
$
2016-10-27T18:38:34.3234180Z ## [debug]从以下位置加载资源字符串:C:\\\\_tasks \ VSSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \ 1.0.45\Strings\resources.resjson\en-US\resources.resjson

2016-10-27T18:38:34.3234180Z ## [debug]已加载7个字符串。

2016-10-27T18:38:34.3234180Z ## [debug] INPUT_VSVERSION:'14 .0'
$
2016-10-27T18:38:34.3234180Z ## [debug] INPUT_MSBUILDARCHITECTURE :'x86'

2016-10-27T18:38:34.3234180Z ## [debug] INPUT_MSBUILDARGS:'/ p:VisualStudioVersion / verbosity:diag'

2016-10 -27T18:38:34.3234180Z ## [debug] INPUT_SOLUTION:'C:\\\\\\\ $ \ LPS \Scheduler \ Branches\v1.0 \ Source \ LPSScheduler。 Web \ LPSScheduler.Web.csproj'
$
2016-10-27T18:38:34.3234180Z ## [debug] INPUT_PLATFORM:'any cpu'

2016-10- 27T18:38:34.3234180Z ## [debug] INPUT_CONFIGURATION:'release'

2016-10-27T18:38:34.3234180Z ## [debug] INP UT_CLEAN:'true'

2016-10-27T18:38:34.3234180Z ## [debug]转换为bool:True

2016-10-27T18:38:34.3234180 Z ## [debug] INPUT_MAXIMUMCPUCOUNT:'false'

2016-10-27T18:38:34.3234180Z ## [debug]转换为bool:False

2016-10 -27T18:38:34.3234180Z ## [debug] INPUT_RESTORENUGETPACKAGES:'false'

2016-10-27T18:38:34.3234180Z ## [debug]转换为bool:False

2016-10-27T18:38:34.3234180Z ## [debug] INPUT_LOGPROJECTEVENTS:'true'

2016-10-27T18:38:34.3234180Z ## [debug]转换为bool:真实
2016-10-27T18:38:34.3234180Z ## [debug] INPUT_CREATELOGFILE:'false'

2016-10-27T18:38:34.3234180Z ## [ debug]转换为bool:False

2016-10-27T18:38:34.3234180Z ## [debug] INPUT_VSLOCATION(空)

2016-10-27T18:38: 34.3234180Z ## [debug] INPUT_MSBUILDLOCATION(空)

2016-10-27T18:38:34.3234180Z ## [debug] INPUT_MSBUILDVERSION(空)

2016-10- 27T18:38:34.3234180Z ## [debug]加载模块从路径 'C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\MSBuildHelpers.psm1'

。 2016-10-27T18:38:34.3234180Z ## [debug]从以下位置加载资源字符串:C:\\\\_tasks \ VSSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45 \ ps_modules \ MSBuildHelpers \ module.json

2016-10-27T18:38:34.3234180Z ## [debug]加载4个字符串。

2016-10-27T18:38:34.3234180Z ## [debug] SYSTEM_CULTURE:'en-US'

2016-10-27T18:38:34.3234180Z ## [debug]从以下位置加载资源字符串:C:\\\\_tasks \ VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Strings\resources.resjson\en-US\resources.resjson

2016-10- 27T18:38:34.3234180Z ## [debug]加载4个字符串。

2016-10-27T18:38:34.3234180Z ## [debug]导出函数'Format-MSBuildArguments'。

2016-10-27T18:38:34.32 34180Z ## [debug]导出函数'Invoke-BuildTools'。

2016-10-27T18:38:34.3234180Z ## [debug]导出函数'Get-MSBuildPath'。

2016-10-27T18:38:34.3234180Z ## [debug]导出函数'Get-SolutionFiles'。

2016-10-27T18:38:34.3234180Z ## [debug]导出函数'Get-VisualStudio_15_0'。
$
2016-10-27T18:38:34.3234180Z ## [debug]导入函数'Format-MSBuildArguments'。

2016-10- 27T18:38:34.3234180Z ## [debug]导入函数'Get-MSBuildPath'。

2016-10-27T18:38:34.3234180Z ## [debug]导入函数'Get-SolutionFiles'。

2016-10-27T18:38:34.3234180Z ## [debug]导入功能'Get-VisualStudio_15_0'。
$
2016-10-27T18:38:34.3234180Z# #[debug]导入函数'Invoke-BuildTools'。

2016-10-27T18:38:34.3234180Z ## [debug]输入Get-SolutionFiles。

2016- 10-27T18:38:34.3234180Z ## [debug]解决方案:'C:\\\\\\\ $ \ LPS \Scheduler \\ Branches\v1.0\Source\LPSScheduler.Web \ LPSScheduler.Web.csproj'
$
2016-10-27T18:38:34.3234180Z ## [debug]离开Get-SolutionFiles 。$
2016-10-27T18:38:34.3234180Z ## [debug]输入Select-VSVersion。

2016-10-27T18:38:34.3234180Z ## [ debug] PreferredVersion:'14 .0'

2016-10-27T18:38:34.3234180Z ## [debug] SearchCom:'False'

2016-10-27T18:38 :34.3234180Z ## [debug]输入Get-VSPath。

2016-10-27T18:38:34.3234180Z ## [debug]版本:'14 .0'

2016 -10-27T18:38:34.3234180Z ## [debug] SearchCom:'False'

2016-10-27T18:38:34.3234180Z ## [debug]离开Get-VSPath。

2016-10-27T18:38:34.3234180Z ## [debug]离开Select-VSVersion。

2016-10-27T18:38:34.3234180Z ## [debug] Entering Select -MSBuildLocation。

2016-10-27T18:38:34.3234180Z ## [debug] VSVersion:'14 .0'
$
2016-10-27T18:38:34.3234180Z# #[debug]架构:'x86'

2016-10-27T18:38:34.3234 180Z ## [debug] SearchCom:'False'

2016-10-27T18:38:34.3234180Z ## [debug]输入Get-MSBuildPath。

2016-10 -27T18:38:34.3234180Z ## [debug]版本:'14 .0'
$
2016-10-27T18:38:34.3234180Z ## [debug]架构:'x86'

2016-10-27T18:38:34.3234180Z ## [debug] SearchCom:'False'

2016-10-27T18:38:34.3234180Z ## [debug]加载Microsoft.Build .Utilities.Core,Version = 15.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a,processorArchitecture = MSIL

2016-10-27T18:38:34.3234180Z ## [debug] not found。

2016-10-27T18:38:34.3234180Z ## [debug]正在加载Microsoft.Build.Utilities.Core,Version = 14.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a,processorArchitecture = MSIL
2016-10-27T18:38:34.3234180Z ## [debug] MSBuild:C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe

2016-10-27T18:38:34.3234180Z ## [debug]离开Get-MSBuildPath。

2016-10-27T18:38:34.3234180Z ## [ debug]离开Select-MSBuildLocation。

2016-10-27T18:38:34.3234180Z ## [debug]输入Format-MSBuildArguments。

2016-10-27T18:38 :34.3234180Z ## [debug] MSBuildArguments:'/ p:VisualStudioVersion / verbosity:diag'

2016-10-27T18:38:34.3234180Z ## [debug]平台:'any cpu'

2016-10-27T18:38:34.3234180Z ## [debug]配置:'release'

2016-10-27T18:38:34.3234180Z ## [debug] VSVersion:'14 .0'
$
2016-10-27T18:38:34.3234180Z ## [debug] MaximumCpuCount:'False'

2016-10-27T18:38:34.3234180 ž## [调试] AZURE_HTTP_USER_AGENT: 'VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129'

2016-10-27T18:38:34.3234180Z ## [调试]离开格式-MSBuildArguments

2016-10-27T18:38:34.3234180Z ## [debug]输入Invoke-BuildTools。

2016-10-27T18:38:34.3234180Z ## [debug] NuGetRestore: 'False'

2016-10-27T18:38:34.5265436Z ## [debug] SolutionFiles:'C:\\\\\\\ $ \ LP S \ Scheduler \ Branches \v1.0 \ Source \ LPSScheduler.Web \ LPSScheduler.Web.csproj'

2016-10-27T18:38:34.5265436Z ## [debug ] MSBuildLocation:'C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe'b
2016-10-27T18:38:34.5734176Z ## [debug ] MSBuildArguments:'/ p:VisualStudioVersion / verbosity:diag / p:platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / P:_MSDeployUserAgent = QUOT; VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'

2016-10-27T18:38:34.5734176Z ## [调试]清洁: '真'

2016-10-27T18:38:34.5734176Z ## [debug] NoTimelineLogger:'False'

2016-10-27T18:38:34.5734176Z ## [debug] CreateLogFile:' False'
$
2016-10-27T18:38:34.5734176Z ## [debug]输入Invoke-MSBuild。

2016-10-27T18:38:34.5734176Z ## [debug] ProjectFile:'C:\\\\\\\ $ \ LPS \Scheduler \ Branches\v1.0 \ Source \ LPSScheduler.Web \ LPSScheduler.Web.csproj'

2016-10-27T18:38:34.5734176Z ## [debug]目标:'干净'

2016-10-27T18:38:34.5734176Z ## [debug ] MSBuildPath:'C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe'b
2016-10-27T18:38:34.5734176Z ## [debug ] AdditionalArguments:'/ p:VisualStudioVersion / verbosity:diag / p:platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / p:_MSDeployUserAgent =" VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
$
2016-10-27T18:38:34.5734176Z ## [debug] NoTimelineLogger:'False'

2016-10-27T18:38:34.5734176Z ## [debug]断言叶子路径存在:'C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe'

2016-10-27T18:38:34.5734176Z ## [debug]已处理:## vso [task.logdetail id = e0337ee1-7c53-4b8e-a1c1-a5ddafcbebee; type = Process; progress = 0 ; state =已初始化; name = Build LPSScheduler.Web.csproj; starttime = 2016-10-27T18:38:34.4484187Z]
$
2016-10-27T18:38:34.5734176Z ## [debug]断言叶路径存在: 'C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll'

2016-10-27T18:38:34.5734176Z ## [debug]输入Invoke-VstsTool。

2016-10-27T18:38:34.5734176Z ## [debug ] FileName:'C:\Program Files(x86)\\ MSBuild\14.0\bin\msbuild.exe'

2016-10-27T18:38:34.5734176Z ## [debug]参数:'" C:\\\\\ \\s\ $ \LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" / nologo / nr:false / t:"清洁" /dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" ;;" RootDetailId = e0337ee1-7c53-4b8e-A1C1-a5ddafcbebee | SolutionDir = C:\a\1\s\ $ \LPS\Scheduler\Branches\v1.0\Source\\ \\LPSScheduler.Web" * ForwardingLogger," C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild。 Logger.dll"
/ p:VisualStudioVersion / verbosity:diag / p:platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / p:_MSDeployUserAgent =" VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
$
2016-10-27T18:38:34.5734176Z ## [debug] RequireExitCodeZero:'True'

2016-10-27T18:38:34.5734176Z ## [command]" C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe" " C:\a\1\s\ $ \LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" / nologo / nr:false / t:"清洁" /dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" ;;" RootDetailId = e0337ee1-7c53-4b8e-A1C1-a5ddafcbebee | SolutionDir = C:\a\1\s\ $ \LPS\Scheduler\Branches\v1.0\Source\\ \\LPSScheduler.Web" * ForwardingLogger," C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild。 Logger.dll"
/ p:VisualStudioVersion / verbosity:diag / p:platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / P:_MSDeployUserAgent = QUOT; VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"

2016-10-27T18:38:34.5734176Z MSBUILD:错误MSB1009:项目文件不存在

2016-10-27T18:38:34.5734176Z开关:C:\\\\\\\ $ \ LPS \Scheduler \ Branches\v1.0 \ Source \ LPSScheduler .Web\LPSScheduler.Web.csproj

2016-10-27T18:38:34.5890422Z ## [debug]退出代码:1

2016-10-27T18: 38:34.7765413Z ## [debug]错误记录:

2016-10-27T18:38:34.7765413Z ## [debug] Invoke-VstsTool:进程'msbuild.exe'退出,代码为'1 '。$
2016-10-27T18:38:34.7765413Z ## [debug]在C:\\\\_tasks \ VSSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45 \ps_modules\MSBuildHelpers\InvokeFunctions.ps1:111 char:13

2016-10-27T18:38:34.7765413Z ## [debug] +              Invoke-VstsTool -FileName $ MSBuildPath -Arguments $ argume ...

2016-10-27T18:38:34.7765413Z ## [debug] +              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~

2016-10-27T18:38:34.7765413Z ## [debug]    + CategoryInfo          :NotSpecified:(:) [Write-Error],WriteErrorException

2016-10-27T18:38:34.7765413Z ## [debug]    + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorException,Invoke-VstsTool

2016-10-27T18:38:34.7765413Z ## [debug]

2016-10-27T18 :38:34.7765413Z ## [debug]脚本堆栈跟踪:

2016-10-27T18:38:34.7765413Z ## [debug]在Invoke-Tool,C:\\\\ _tasks \VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\VstsTaskSdk\ToolFunctions.ps1:线86

2016-10-27T18:38:## 34.7765413Z [调试]在Invoke-MSBuild,C:\\\ tasks \ VSSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45 \ ps_modules \ MSBuildHelpers\InvokeFunctions.ps1:第111行
2016-10-27T18:38:34.7765413Z ## [debug]在Invoke-BuildTools,C:\\\\_tasks \VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \1.0.45 \ ps_modules\MSBuildHelpers\InvokeFunctions.ps1:line 28

2016-10-27T18:38:34.7765413Z ## [debug] at< ScriptBlock> ;, C:\\\ tasks \\ \\VSBuild_71a9a2d3-a98a-4caa-96ab- affca411ecda\1.0.45\VSBuild.ps1:line 66

2016-10-27T18:38:34.7765413Z ## [debug] at< ScriptBlock>,< No file>:line 1

2016-10-27T18:38:34.7765413Z ## [debug] at< ScriptBlock>,< No file> ;: line 22

2016-10- 27T18:38:34.7765413Z ## [debug] at< ScriptBlock>,< No file> ;: line 18

2016-10-27T18:38:34.7765413Z ## [debug] at< ; ScriptBlock>,< No file>:第1行

2016-10-27T18:38:34.7765413Z ## [debug]例外:

2016-10-27T18 :38:34.7765413Z ## [debug] Microsoft.PowerShell.Commands.WriteErrorException:进程'msbuild.exe'退出,代码为'1'。

2016-10-27T18:38:34.7765413Z# #[error]进程'msbuild.exe'退出,代码为'1'。

2016-10-27T18:38:34.7765413Z ## [debug]已处理:## vso [task.logissue type =错误]进程'msbuild.exe'退出,代码为'1'。

2016-10-27T18:38:34.7765413Z ## [debug]离开Invoke-VstsTool。

2016-10-27T18:38:34.7765413Z ## [debug]已处理:## vso [task.complete result = Failed]

2016-10-27T18:38:34.7765413Z ## [debug]已处理:## vso [task.logdetail finishtime = 2016-10-27T18:38:34.7452911Z; id = e0337ee1-7c53-4b8e-a1c1-a5ddafcbebee; progress = 100; state = Completed; result = Failed]

2016-10-27T18 :38:34.7765413Z ## [debug]离开Invoke-MSBuild。

2016-10-27T18:38:34.7765413Z ## [debug]输入Invoke-MSBuild。

2016-10-27T18:38:34.7765413Z ## [debug] ProjectFile:'C:\\\\\\\ $ \ LPS \Scheduler \ Branches\v1.0 \ Source \ LPSScheduler.Web \ LPSScheduler.Web.csproj'
$
2016-10-27T18:38:34.7765413Z ## [debug] MSBuildPath:'C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe'b
2016-10-27T18:38:34.7765413Z ## [debug] AdditionalArguments:'/ p:VisualStudioVersion / verbosity:diag / p: platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / p:_MSDeployUserAgent =" VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
$
2016-10-27T18:38:34.7765413Z ## [debug] NoTimelineLogger:'False'

2016-10-27T18:38:34.7765413Z ## [debug]断言叶子路径存在:'C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe'

2016-10-27T18:38:34.7765413Z ## [debug]已处理:## vso [task.logdetail id = 5c6f4176-67fa-43a6-aadd-c3e3a3636fa2; type = Process; progress = 0 ; state =已初始化; name = Build LPSScheduler.Web.csproj; starttime = 2016-10-27T18:38:34.7609162Z]
$
2016-10-27T18:38:34.7765413Z ## [debug]断言叶路径存在: 'C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll'

2016-10-27T18:38:34.7765413Z ## [debug]输入Invoke-VstsTool。

2016-10-27T18:38:34.7765413Z ## [debug ] FileName:'C:\Program Files(x86)\\ MSBuild\14.0\bin\msbuild.exe'b
2016-10-27T18:38:34.7765413Z ## [debug]参数:'" C:\\\\\ \\s\ $ \LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" / NOLOGO / NR:假/dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask .MSBuild.Logger.dll英寸;" RootDetailId = 5c6f4176-67fa-43a6-AADD-c3e3a3636fa2 | SolutionDir = C:\a\1\s\ $ \LPS\Scheduler\Branches\v1 .0\Source\LPSScheduler.Web" * ForwardingLogger," C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft。 TeamFoundation.DistributedTask.MSBuild.Logger.dll"
/ p:VisualStudioVersion / verbosity:diag / p:platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / p:_MSDeployUserAgent =" VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
$
2016-10-27T18:38:34.7765413Z ## [debug] RequireExitCodeZero:'True'

2016-10-27T18:38:34.7765413Z ## [command]" C:\Program Files(x86)\ MSBuild\14.0\bin\msbuild.exe" " C:\a\1\s\ $ \LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" / NOLOGO / NR:假/dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask .MSBuild.Logger.dll英寸;" RootDetailId = 5c6f4176-67fa-43a6-AADD-c3e3a3636fa2 | SolutionDir = C:\a\1\s\ $ \LPS\Scheduler\Branches\v1 .0\Source\LPSScheduler.Web" * ForwardingLogger," C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft。 TeamFoundation.DistributedTask.MSBuild.Logger.dll"
/ p:VisualStudioVersion / verbosity:diag / p:platform =" any cpu" / P:配置= QUOT;释放" /p:VisualStudioVersion="14.0" / p:_MSDeployUserAgent =" VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"

2016-10-27T18:38:34.8078026Z MSBUILD:错误MSB1009:项目文件不存在。

2016-10-27T18:38:34.8078026Z开关:C:\\\\\\\ $ \ LPS \Scheduler \ Branches\v1.0 \ Source \ LPSScheduler .Web\LPSScheduler.Web.csproj

2016-10-27T18:38:34.8234599Z ## [debug]退出代码:1

2016-10-27T18: 38:34.8234599Z ## [debug]错误记录:

2016-10-27T18:38:34.8234599Z ## [debug] Invoke-VstsTool:进程'msbuild.exe'退出,代码为'1 '。$
2016-10-27T18:38:34.8234599Z ## [debug]在C:\\\\_tasks \ VSSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45 \ps_modules\MSBuildHelpers\InvokeFunctions.ps1:111 char:13

2016-10-27T18:38:34.8234599Z ## [debug] +      &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; Invoke-VstsTool -FileName $ MSBuildPath -Arguments $ argume ...

2016-10-27T18:38:34.8390409Z ## [debug] +       &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~

2016-10-27T18:38:34.8390409Z ## [debug]    + CategoryInfo          :NotSpecified :( :) [Write-Error],WriteErrorException

2016-10-27T18:38:34.8390409Z ## [debug]    + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorException,Invoke-VstsTool

2016-10-27T18:38:34.8390409Z ## [debug]

2016-10-27T18 :38:34.8390409Z ## [debug]脚本堆栈跟踪:

2016-10-27T18:38:34.8390409Z ## [debug]在Invoke-Tool,C:\\\ tasks \VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\VstsTaskSdk\ToolFunctions.ps1:线86

2016-10-27T18:38:## 34.8390409Z [调试]在调用-MSBuild的,C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1:线111

2016-10-27T18:38:34.8390409Z ## [debug]在Invoke-BuildTools,C:\\\ tasks \ VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \1.0.45 \ ps_modules\MSBuildHelpers\InvokeFunctions.ps1:line 36

2016-10-27T18:38:34.8546657Z ## [debug] at< ScriptBlock> ;, C:\\\ tasks \\ \\VSBuild_71a9a2d3-a98a-4caa-96ab- affca411ecda\1.0.45\VSBuild.ps1:line 66

2016-10-27T18:38:34.8546657Z ## [debug] at< ScriptBlock> ;,< No file>:line 1

2016-10-27T18:38:34.8546657Z ## [debug] at< ScriptBlock>,< No file> ;: line 22

2016-10- 27T18:38:34.8546657Z ## [debug] at< ScriptBlock>,< No file> ;:第18行¥b $ b 2016-10-27T18:38:34.8546657Z ## [debug] at< ; ScriptBlock>,< No file>:第1行

2016-10-27T18:38:34.8546657Z ## [debug]例外:

2016-10-27T18 :38:34.8702980Z ## [debug] Microsoft.PowerShell.Commands.WriteErrorException:进程'msbuild.exe'退出,代码为'1'。

2016-10-27T18:38:34.8702980Z# #[error]进程'msbuild.exe'退出,代码为'1'。

2016-10-27T18:38:34.8702980Z ## [debug]已处理:## vso [task.logissue type =错误]进程'msbuild.exe'退出,代码为'1'。

2016-10-27T18:38:34.8702980Z ## [debug]离开Invoke-VstsTool。

2016-10-27T18:38:34.8702980Z ## [debug]已处理:## vso [task.complete result = Failed]

2016-10-27T18:38:34.8702980Z ## [debug]已处理:## vso [task.logdetail finishtime = 2016-10-27T18:38:34.8702980Z; id = 5c6f4176-67fa-43a6-aadd-c3e3a3636fa2; progress = 100; state = Completed; result = Failed]

2016-10-27T18 :38:34.8702980Z ## [debug]离开Invoke-MSBuild。

2016-10-27T18:38:34.8861215Z ## [debug]离开Invoke-BuildTools。

2016-10-27T18:38:34.8861215Z ## [debug]离开C:\ a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45 \VSBuild.ps1。

2016-10-27T18:38:34.9015407Z ## [section]整理:构建解决方案$ / LPS / Scheduler / Branches / v1.0 / Source / LPSScheduler.Web / LPSScheduler.Web.csproj

2016-10-27T18:38:34.9015407Z ## [section]开始:构建解决方案$ / LPS / LPS网站/分支机构/公司-EHC集成/ PatientSys.Net / PatientSys.sln

解决方案

您好,



感谢您发布此处!



我建议你,检查文件名和路径的拼写。该名称可能错误地给出。


您可以尝试重新创建本地工作区并查看它是否有效。


此外,您还可以查看关于同一问题的讨论:
http://help.appveyor.com/discussions/problems/709-relative-path-issues-for-projects-in-a-solution




希望这有帮助。



问候,

Swikruti



免责声明:

此回复包含对第三方万维网站点的引用。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也未测试在这些网站上找到的任何软件或信息;因此,
Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。使用互联网上的任何软件都存在固有的危险,并且Microsoft提醒您在从互联网上检索任何软件之前确保您完全了解风险。 



I am trying to introduce CI to my new company. They are using VSTS and I am having issues trying to understand why I try to map to a solution with one project or directly to the project. I am getting "MSB1009: Project file does not exist." 

I am able to compile locally with both Visual Studio and command line.  Can someone please tell me what I am doing wrong. TIA

Below is the output..

2016-10-27T18:38:31.3078127Z ==============================================================================
2016-10-27T18:38:31.3078127Z Task         : Visual Studio Build
2016-10-27T18:38:31.3078127Z Description  : Build with MSBuild and set the Visual Studio version property
2016-10-27T18:38:31.3078127Z Version      : 1.0.45
2016-10-27T18:38:31.3078127Z Author       : Microsoft Corporation
2016-10-27T18:38:31.3078127Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613727)
2016-10-27T18:38:31.3078127Z ==============================================================================
2016-10-27T18:38:31.3078127Z ##[debug]tf vc resolvePath $\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj /loginType:OAuth /login:.,******** /noprompt
2016-10-27T18:38:33.1828039Z ##[debug]VstsTaskSdk 0.7.1 commit f990f8d8df6197b1cfcec01031ba014ad4905681
2016-10-27T18:38:33.4484240Z ##[debug]Entering C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\VSBuild.ps1.
2016-10-27T18:38:33.9952955Z ##[debug]Loading resource strings from: C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\Task.json
2016-10-27T18:38:33.9952955Z ##[debug]Loaded 7 strings.
2016-10-27T18:38:34.2140451Z ##[debug]SYSTEM_CULTURE: 'en-US'
2016-10-27T18:38:34.3234180Z ##[debug]Loading resource strings from: C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\Strings\resources.resjson\en-US\resources.resjson
2016-10-27T18:38:34.3234180Z ##[debug]Loaded 7 strings.
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_VSVERSION: '14.0'
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_MSBUILDARCHITECTURE: 'x86'
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_MSBUILDARGS: '/p:VisualStudioVersion /verbosity:diag'
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_SOLUTION: 'C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj'
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_PLATFORM: 'any cpu'
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_CONFIGURATION: 'release'
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_CLEAN: 'true'
2016-10-27T18:38:34.3234180Z ##[debug] Converted to bool: True
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_MAXIMUMCPUCOUNT: 'false'
2016-10-27T18:38:34.3234180Z ##[debug] Converted to bool: False
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_RESTORENUGETPACKAGES: 'false'
2016-10-27T18:38:34.3234180Z ##[debug] Converted to bool: False
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_LOGPROJECTEVENTS: 'true'
2016-10-27T18:38:34.3234180Z ##[debug] Converted to bool: True
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_CREATELOGFILE: 'false'
2016-10-27T18:38:34.3234180Z ##[debug] Converted to bool: False
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_VSLOCATION (empty)
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_MSBUILDLOCATION (empty)
2016-10-27T18:38:34.3234180Z ##[debug]INPUT_MSBUILDVERSION (empty)
2016-10-27T18:38:34.3234180Z ##[debug]Loading module from path 'C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\MSBuildHelpers.psm1'.
2016-10-27T18:38:34.3234180Z ##[debug]Loading resource strings from: C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\module.json
2016-10-27T18:38:34.3234180Z ##[debug]Loaded 4 strings.
2016-10-27T18:38:34.3234180Z ##[debug]SYSTEM_CULTURE: 'en-US'
2016-10-27T18:38:34.3234180Z ##[debug]Loading resource strings from: C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Strings\resources.resjson\en-US\resources.resjson
2016-10-27T18:38:34.3234180Z ##[debug]Loaded 4 strings.
2016-10-27T18:38:34.3234180Z ##[debug]Exporting function 'Format-MSBuildArguments'.
2016-10-27T18:38:34.3234180Z ##[debug]Exporting function 'Invoke-BuildTools'.
2016-10-27T18:38:34.3234180Z ##[debug]Exporting function 'Get-MSBuildPath'.
2016-10-27T18:38:34.3234180Z ##[debug]Exporting function 'Get-SolutionFiles'.
2016-10-27T18:38:34.3234180Z ##[debug]Exporting function 'Get-VisualStudio_15_0'.
2016-10-27T18:38:34.3234180Z ##[debug]Importing function 'Format-MSBuildArguments'.
2016-10-27T18:38:34.3234180Z ##[debug]Importing function 'Get-MSBuildPath'.
2016-10-27T18:38:34.3234180Z ##[debug]Importing function 'Get-SolutionFiles'.
2016-10-27T18:38:34.3234180Z ##[debug]Importing function 'Get-VisualStudio_15_0'.
2016-10-27T18:38:34.3234180Z ##[debug]Importing function 'Invoke-BuildTools'.
2016-10-27T18:38:34.3234180Z ##[debug]Entering Get-SolutionFiles.
2016-10-27T18:38:34.3234180Z ##[debug] Solution: 'C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj'
2016-10-27T18:38:34.3234180Z ##[debug]Leaving Get-SolutionFiles.
2016-10-27T18:38:34.3234180Z ##[debug]Entering Select-VSVersion.
2016-10-27T18:38:34.3234180Z ##[debug] PreferredVersion: '14.0'
2016-10-27T18:38:34.3234180Z ##[debug] SearchCom: 'False'
2016-10-27T18:38:34.3234180Z ##[debug]Entering Get-VSPath.
2016-10-27T18:38:34.3234180Z ##[debug] Version: '14.0'
2016-10-27T18:38:34.3234180Z ##[debug] SearchCom: 'False'
2016-10-27T18:38:34.3234180Z ##[debug]Leaving Get-VSPath.
2016-10-27T18:38:34.3234180Z ##[debug]Leaving Select-VSVersion.
2016-10-27T18:38:34.3234180Z ##[debug]Entering Select-MSBuildLocation.
2016-10-27T18:38:34.3234180Z ##[debug] VSVersion: '14.0'
2016-10-27T18:38:34.3234180Z ##[debug] Architecture: 'x86'
2016-10-27T18:38:34.3234180Z ##[debug] SearchCom: 'False'
2016-10-27T18:38:34.3234180Z ##[debug]Entering Get-MSBuildPath.
2016-10-27T18:38:34.3234180Z ##[debug] Version: '14.0'
2016-10-27T18:38:34.3234180Z ##[debug] Architecture: 'x86'
2016-10-27T18:38:34.3234180Z ##[debug] SearchCom: 'False'
2016-10-27T18:38:34.3234180Z ##[debug]Loading Microsoft.Build.Utilities.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
2016-10-27T18:38:34.3234180Z ##[debug]Not found.
2016-10-27T18:38:34.3234180Z ##[debug]Loading Microsoft.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
2016-10-27T18:38:34.3234180Z ##[debug]MSBuild: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
2016-10-27T18:38:34.3234180Z ##[debug]Leaving Get-MSBuildPath.
2016-10-27T18:38:34.3234180Z ##[debug]Leaving Select-MSBuildLocation.
2016-10-27T18:38:34.3234180Z ##[debug]Entering Format-MSBuildArguments.
2016-10-27T18:38:34.3234180Z ##[debug] MSBuildArguments: '/p:VisualStudioVersion /verbosity:diag'
2016-10-27T18:38:34.3234180Z ##[debug] Platform: 'any cpu'
2016-10-27T18:38:34.3234180Z ##[debug] Configuration: 'release'
2016-10-27T18:38:34.3234180Z ##[debug] VSVersion: '14.0'
2016-10-27T18:38:34.3234180Z ##[debug] MaximumCpuCount: 'False'
2016-10-27T18:38:34.3234180Z ##[debug]AZURE_HTTP_USER_AGENT: 'VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129'
2016-10-27T18:38:34.3234180Z ##[debug]Leaving Format-MSBuildArguments.
2016-10-27T18:38:34.3234180Z ##[debug]Entering Invoke-BuildTools.
2016-10-27T18:38:34.3234180Z ##[debug] NuGetRestore: 'False'
2016-10-27T18:38:34.5265436Z ##[debug] SolutionFiles: 'C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj'
2016-10-27T18:38:34.5265436Z ##[debug] MSBuildLocation: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.5734176Z ##[debug] MSBuildArguments: '/p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
2016-10-27T18:38:34.5734176Z ##[debug] Clean: 'True'
2016-10-27T18:38:34.5734176Z ##[debug] NoTimelineLogger: 'False'
2016-10-27T18:38:34.5734176Z ##[debug] CreateLogFile: 'False'
2016-10-27T18:38:34.5734176Z ##[debug]Entering Invoke-MSBuild.
2016-10-27T18:38:34.5734176Z ##[debug] ProjectFile: 'C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj'
2016-10-27T18:38:34.5734176Z ##[debug] Targets: 'Clean'
2016-10-27T18:38:34.5734176Z ##[debug] MSBuildPath: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.5734176Z ##[debug] AdditionalArguments: '/p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
2016-10-27T18:38:34.5734176Z ##[debug] NoTimelineLogger: 'False'
2016-10-27T18:38:34.5734176Z ##[debug]Asserting leaf path exists: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.5734176Z ##[debug]Processed: ##vso[task.logdetail id=e0337ee1-7c53-4b8e-a1c1-a5ddafcbebee;type=Process;progress=0;state=Initialized;name=Build LPSScheduler.Web.csproj;starttime=2016-10-27T18:38:34.4484187Z]
2016-10-27T18:38:34.5734176Z ##[debug]Asserting leaf path exists: 'C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll'
2016-10-27T18:38:34.5734176Z ##[debug]Entering Invoke-VstsTool.
2016-10-27T18:38:34.5734176Z ##[debug] FileName: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.5734176Z ##[debug] Arguments: '"C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" /nologo /nr:false /t:"Clean" /dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=e0337ee1-7c53-4b8e-a1c1-a5ddafcbebee|SolutionDir=C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web"*ForwardingLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
2016-10-27T18:38:34.5734176Z ##[debug] RequireExitCodeZero: 'True'
2016-10-27T18:38:34.5734176Z ##[command]"C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" "C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" /nologo /nr:false /t:"Clean" /dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=e0337ee1-7c53-4b8e-a1c1-a5ddafcbebee|SolutionDir=C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web"*ForwardingLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"
2016-10-27T18:38:34.5734176Z MSBUILD : error MSB1009: Project file does not exist.
2016-10-27T18:38:34.5734176Z Switch: C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj
2016-10-27T18:38:34.5890422Z ##[debug]Exit code: 1
2016-10-27T18:38:34.7765413Z ##[debug]Error record:
2016-10-27T18:38:34.7765413Z ##[debug]Invoke-VstsTool : Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.7765413Z ##[debug]At C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1:111 char:13
2016-10-27T18:38:34.7765413Z ##[debug]+             Invoke-VstsTool -FileName $MSBuildPath -Arguments $argume ...
2016-10-27T18:38:34.7765413Z ##[debug]+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2016-10-27T18:38:34.7765413Z ##[debug]    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
2016-10-27T18:38:34.7765413Z ##[debug]    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-VstsTool
2016-10-27T18:38:34.7765413Z ##[debug]
2016-10-27T18:38:34.7765413Z ##[debug]Script stack trace:
2016-10-27T18:38:34.7765413Z ##[debug]at Invoke-Tool, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\VstsTaskSdk\ToolFunctions.ps1: line 86
2016-10-27T18:38:34.7765413Z ##[debug]at Invoke-MSBuild, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1: line 111
2016-10-27T18:38:34.7765413Z ##[debug]at Invoke-BuildTools, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1: line 28
2016-10-27T18:38:34.7765413Z ##[debug]at <ScriptBlock>, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\VSBuild.ps1: line 66
2016-10-27T18:38:34.7765413Z ##[debug]at <ScriptBlock>, <No file>: line 1
2016-10-27T18:38:34.7765413Z ##[debug]at <ScriptBlock>, <No file>: line 22
2016-10-27T18:38:34.7765413Z ##[debug]at <ScriptBlock>, <No file>: line 18
2016-10-27T18:38:34.7765413Z ##[debug]at <ScriptBlock>, <No file>: line 1
2016-10-27T18:38:34.7765413Z ##[debug]Exception:
2016-10-27T18:38:34.7765413Z ##[debug]Microsoft.PowerShell.Commands.WriteErrorException: Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.7765413Z ##[error]Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.7765413Z ##[debug]Processed: ##vso[task.logissue type=error]Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.7765413Z ##[debug]Leaving Invoke-VstsTool.
2016-10-27T18:38:34.7765413Z ##[debug]Processed: ##vso[task.complete result=Failed]
2016-10-27T18:38:34.7765413Z ##[debug]Processed: ##vso[task.logdetail finishtime=2016-10-27T18:38:34.7452911Z;id=e0337ee1-7c53-4b8e-a1c1-a5ddafcbebee;progress=100;state=Completed;result=Failed]
2016-10-27T18:38:34.7765413Z ##[debug]Leaving Invoke-MSBuild.
2016-10-27T18:38:34.7765413Z ##[debug]Entering Invoke-MSBuild.
2016-10-27T18:38:34.7765413Z ##[debug] ProjectFile: 'C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj'
2016-10-27T18:38:34.7765413Z ##[debug] MSBuildPath: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.7765413Z ##[debug] AdditionalArguments: '/p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
2016-10-27T18:38:34.7765413Z ##[debug] NoTimelineLogger: 'False'
2016-10-27T18:38:34.7765413Z ##[debug]Asserting leaf path exists: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.7765413Z ##[debug]Processed: ##vso[task.logdetail id=5c6f4176-67fa-43a6-aadd-c3e3a3636fa2;type=Process;progress=0;state=Initialized;name=Build LPSScheduler.Web.csproj;starttime=2016-10-27T18:38:34.7609162Z]
2016-10-27T18:38:34.7765413Z ##[debug]Asserting leaf path exists: 'C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll'
2016-10-27T18:38:34.7765413Z ##[debug]Entering Invoke-VstsTool.
2016-10-27T18:38:34.7765413Z ##[debug] FileName: 'C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe'
2016-10-27T18:38:34.7765413Z ##[debug] Arguments: '"C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" /nologo /nr:false /dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=5c6f4176-67fa-43a6-aadd-c3e3a3636fa2|SolutionDir=C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web"*ForwardingLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"'
2016-10-27T18:38:34.7765413Z ##[debug] RequireExitCodeZero: 'True'
2016-10-27T18:38:34.7765413Z ##[command]"C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" "C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj" /nologo /nr:false /dl:CentralLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=5c6f4176-67fa-43a6-aadd-c3e3a3636fa2|SolutionDir=C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web"*ForwardingLogger,"C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /p:VisualStudioVersion /verbosity:diag /p:platform="any cpu" /p:configuration="release" /p:VisualStudioVersion="14.0" /p:_MSDeployUserAgent="VSTS_0464e4a9-a847-4915-90a4-2b4c86eea0bf_build_4_129"
2016-10-27T18:38:34.8078026Z MSBUILD : error MSB1009: Project file does not exist.
2016-10-27T18:38:34.8078026Z Switch: C:\a\1\s\$\LPS\Scheduler\Branches\v1.0\Source\LPSScheduler.Web\LPSScheduler.Web.csproj
2016-10-27T18:38:34.8234599Z ##[debug]Exit code: 1
2016-10-27T18:38:34.8234599Z ##[debug]Error record:
2016-10-27T18:38:34.8234599Z ##[debug]Invoke-VstsTool : Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.8234599Z ##[debug]At C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1:111 char:13
2016-10-27T18:38:34.8234599Z ##[debug]+             Invoke-VstsTool -FileName $MSBuildPath -Arguments $argume ...
2016-10-27T18:38:34.8390409Z ##[debug]+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2016-10-27T18:38:34.8390409Z ##[debug]    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
2016-10-27T18:38:34.8390409Z ##[debug]    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-VstsTool
2016-10-27T18:38:34.8390409Z ##[debug]
2016-10-27T18:38:34.8390409Z ##[debug]Script stack trace:
2016-10-27T18:38:34.8390409Z ##[debug]at Invoke-Tool, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\VstsTaskSdk\ToolFunctions.ps1: line 86
2016-10-27T18:38:34.8390409Z ##[debug]at Invoke-MSBuild, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1: line 111
2016-10-27T18:38:34.8390409Z ##[debug]at Invoke-BuildTools, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\ps_modules\MSBuildHelpers\InvokeFunctions.ps1: line 36
2016-10-27T18:38:34.8546657Z ##[debug]at <ScriptBlock>, C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\VSBuild.ps1: line 66
2016-10-27T18:38:34.8546657Z ##[debug]at <ScriptBlock>, <No file>: line 1
2016-10-27T18:38:34.8546657Z ##[debug]at <ScriptBlock>, <No file>: line 22
2016-10-27T18:38:34.8546657Z ##[debug]at <ScriptBlock>, <No file>: line 18
2016-10-27T18:38:34.8546657Z ##[debug]at <ScriptBlock>, <No file>: line 1
2016-10-27T18:38:34.8546657Z ##[debug]Exception:
2016-10-27T18:38:34.8702980Z ##[debug]Microsoft.PowerShell.Commands.WriteErrorException: Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.8702980Z ##[error]Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.8702980Z ##[debug]Processed: ##vso[task.logissue type=error]Process 'msbuild.exe' exited with code '1'.
2016-10-27T18:38:34.8702980Z ##[debug]Leaving Invoke-VstsTool.
2016-10-27T18:38:34.8702980Z ##[debug]Processed: ##vso[task.complete result=Failed]
2016-10-27T18:38:34.8702980Z ##[debug]Processed: ##vso[task.logdetail finishtime=2016-10-27T18:38:34.8702980Z;id=5c6f4176-67fa-43a6-aadd-c3e3a3636fa2;progress=100;state=Completed;result=Failed]
2016-10-27T18:38:34.8702980Z ##[debug]Leaving Invoke-MSBuild.
2016-10-27T18:38:34.8861215Z ##[debug]Leaving Invoke-BuildTools.
2016-10-27T18:38:34.8861215Z ##[debug]Leaving C:\a\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.0.45\VSBuild.ps1.
2016-10-27T18:38:34.9015407Z ##[section]Finishing: Build solution $/LPS/Scheduler/Branches/v1.0/Source/LPSScheduler.Web/LPSScheduler.Web.csproj
2016-10-27T18:38:34.9015407Z ##[section]Starting: Build solution $/LPS/LPS Website/Branches/Company-EHC Integration/PatientSys.Net/PatientSys.sln

解决方案

Hello,

Thank you for posting here!

I would suggest you, check the spelling of the filename and path. The name might be wrongly given.

You can try to re-create the local workspace and see if it works.

Also, you can check this discussion on the same issue: http://help.appveyor.com/discussions/problems/709-relative-path-issues-for-projects-in-a-solution

Hope this helps.

Regards,
Swikruti

Disclaimer:
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 


这篇关于MSB1009:项目文件不存在。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆