Wpf 具有预构建事件的Devops管道项目

Wpf 具有预构建事件的Devops管道项目,wpf,build,azure-devops,continuous-integration,azure-pipelines,Wpf,Build,Azure Devops,Continuous Integration,Azure Pipelines,嗨,我真的很难在一个有预构建事件的项目上建立一个管道 解决方案本身在本地很好地构建了所有21个项目 预生成事件如下所示: "$(SolutionDir)Removerowguids\bin\Debug\Removerowguids.exe" $(SolutionDir)Brouwen3.Business\Domains\Store\DcBrouwen.edmx "$(SolutionDir)Removerowguids\bin\Debug\Removerowguid

嗨,我真的很难在一个有预构建事件的项目上建立一个管道

解决方案本身在本地很好地构建了所有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\1\s\Removerowguids\bin\Debug\Removerowguids.exe" D:\a\1\s\Mits.Business\Store\MesBrouwen.edmx" exited with code 3.
管道本身非常基本,它尝试了MSBuild和VSBuild步骤

如果有人能指出问题所在,那就太好了


MSB3073仅表示命令有问题,错误的最后一部分
与代码3一起退出,指向路径错误,如下所示:

错误\u路径\u未找到3(0x3)系统找不到路径 指定的


\bin\Debug
文件夹是在生成后生成的,它在预生成期间不存在,您可以尝试将.exe直接放置在解决方案文件夹中,例如:
“$(SolutionDir)Removerowguids.exe”

代码3是路径错误。检查d上的文件路径以及命令中使用的任何组件。
Error MSB3073: The command ""D:\a\1\s\Removerowguids\bin\Debug\Removerowguids.exe" D:\a\1\s\Brouwen3.Business\Domains\Store\DcBrouwen.edmx