makeappx.exe 是否存在于 azure pipeline 中?
Does makeappx.exe exist in azure pipeline?
我正在尝试使用 makeappx.exe 在 azure 发布管道中打包我的程序。
但是我收到以下错误:
'makeappx' is not recognized as an internal or external command
我使用 windows-2019
托管代理。
Does makeappx.exe exist in azure pipeline?
的确,我也可以在我这边重现这个问题。那是因为makeappx.exe
是外部命令,在任意目录.
无法被Windows识别
为了调查这个问题,我添加了一个复制任务来复制默认的SDK文件夹:
C:\Program Files (x86)\Windows Kits\bin\x64
显然,默认文件夹下不存在makeappx.exe
根据Vs2019-Server2019-Readme.md,我们可以知道windows-2019 hosted agent包括Windows10 SDK 16299
, 17134
, 17763
, 18362
.
因此,要调用 makeappx.exe
,我们可以使用此文件的完整路径,例如:
C:\Program Files (x86)\Windows Kits\bin.0.18362.0\x64\makeappx.exe
作为测试,它在 Windows-2019 托管代理上运行良好。
希望这对您有所帮助。
我认为他是在谈论这个命令能够 运行 在管道构建下而不是本地驱动器。
我正在尝试使用 makeappx.exe 在 azure 发布管道中打包我的程序。 但是我收到以下错误:
'makeappx' is not recognized as an internal or external command
我使用 windows-2019
托管代理。
Does makeappx.exe exist in azure pipeline?
的确,我也可以在我这边重现这个问题。那是因为makeappx.exe
是外部命令,在任意目录.
为了调查这个问题,我添加了一个复制任务来复制默认的SDK文件夹:
C:\Program Files (x86)\Windows Kits\bin\x64
显然,默认文件夹下不存在makeappx.exe
根据Vs2019-Server2019-Readme.md,我们可以知道windows-2019 hosted agent包括Windows10 SDK 16299
, 17134
, 17763
, 18362
.
因此,要调用 makeappx.exe
,我们可以使用此文件的完整路径,例如:
C:\Program Files (x86)\Windows Kits\bin.0.18362.0\x64\makeappx.exe
作为测试,它在 Windows-2019 托管代理上运行良好。
希望这对您有所帮助。
我认为他是在谈论这个命令能够 运行 在管道构建下而不是本地驱动器。