具有预构建事件的 Devops 管道项目
Devops Pipeline project with Prebuild events
您好,我真的很难在具有预构建事件的项目上设置管道。
解决方案本身在本地很好地构建了所有 21 个项目。
预构建事件如下所示:
"$(SolutionDir)Removerowguids\bin\Debug\Removerowguids.exe" $(SolutionDir)Brouwen3.Business\Domains\Store\DcBrouwen.edmx
"$(SolutionDir)Removerowguids\bin\Debug\Removerowguids.exe" $(SolutionDir)Brouwen3.Business\Domains\Store\DcPCD.edmx
它从现有的 edmx 中删除了一些数据。
当我 运行 我的管道时,除了 VS 构建步骤外,一切都很顺利。
这是它生成的错误:
Error MSB3073: The command ""D:\a\s\Removerowguids\bin\Debug\Removerowguids.exe" D:\a\s\Mits.Business\Store\MesBrouwen.edmx" exited with code 3.
Error MSB3073: The command ""D:\a\s\Removerowguids\bin\Debug\Removerowguids.exe" D:\a\s\Brouwen3.Business\Domains\Store\DcBrouwen.edmx
管道本身非常基础,它尝试了 MSBuild 和 VSBuild 步骤。
如果有人能指出这里的错误就太好了。
MSB3073 只是表示命令有问题,错误的最后一部分 exited with code 3
指向路径错误,该错误在 here 中列为:
ERROR_PATH_NOT_FOUND 3 (0x3) The system cannot find the path
specified.
\bin\Debug
文件夹是构建后生成的,在pre-build期间不存在,可以尝试将.exe直接放在Solution文件夹下,例如:"$(SolutionDir)Removerowguids.exe"
.
您好,我真的很难在具有预构建事件的项目上设置管道。
解决方案本身在本地很好地构建了所有 21 个项目。
预构建事件如下所示:
"$(SolutionDir)Removerowguids\bin\Debug\Removerowguids.exe" $(SolutionDir)Brouwen3.Business\Domains\Store\DcBrouwen.edmx
"$(SolutionDir)Removerowguids\bin\Debug\Removerowguids.exe" $(SolutionDir)Brouwen3.Business\Domains\Store\DcPCD.edmx
它从现有的 edmx 中删除了一些数据。
当我 运行 我的管道时,除了 VS 构建步骤外,一切都很顺利。
这是它生成的错误:
Error MSB3073: The command ""D:\a\s\Removerowguids\bin\Debug\Removerowguids.exe" D:\a\s\Mits.Business\Store\MesBrouwen.edmx" exited with code 3.
Error MSB3073: The command ""D:\a\s\Removerowguids\bin\Debug\Removerowguids.exe" D:\a\s\Brouwen3.Business\Domains\Store\DcBrouwen.edmx
管道本身非常基础,它尝试了 MSBuild 和 VSBuild 步骤。
如果有人能指出这里的错误就太好了。
MSB3073 只是表示命令有问题,错误的最后一部分 exited with code 3
指向路径错误,该错误在 here 中列为:
ERROR_PATH_NOT_FOUND 3 (0x3) The system cannot find the path specified.
\bin\Debug
文件夹是构建后生成的,在pre-build期间不存在,可以尝试将.exe直接放在Solution文件夹下,例如:"$(SolutionDir)Removerowguids.exe"
.