Continuous integration VSTS开发人员工具生成任务错误:enoint:no>;此类文件或目录,打开>';C:\Users\x\AppData\Local\Temp\2\vsixeditorx\extension.vsomanifest

Continuous integration VSTS开发人员工具生成任务错误:enoint:no>;此类文件或目录,打开>';C:\Users\x\AppData\Local\Temp\2\vsixeditorx\extension.vsomanifest,continuous-integration,azure-devops,tfsbuild,azure-pipelines,Continuous Integration,Azure Devops,Tfsbuild,Azure Pipelines,我正在使用“VSTS开发人员工具构建任务”将VS扩展从TFS构建管道发布到VS市场。我已在安装在Windows 7计算机中的测试生成管道中配置了该任务,并且该任务已成功运行,但是,当我尝试在Windows 2012 R2计算机中配置的TFS 2017服务器中实现该任务时,生成任务失败,出现以下消息,请帮助我解决此问题 日志: <?xml version="1.0" encoding="utf-8"?> <PackageManifest Version="2.0.0" xmlns

我正在使用“VSTS开发人员工具构建任务”将VS扩展从TFS构建管道发布到VS市场。我已在安装在Windows 7计算机中的测试生成管道中配置了该任务,并且该任务已成功运行,但是,当我尝试在Windows 2012 R2计算机中配置的TFS 2017服务器中实现该任务时,生成任务失败,出现以下消息,请帮助我解决此问题

日志:

<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
  <Metadata>
    <Identity Id="xxxxx-xxxx-xxxx-xxxx-xxxxx" Version="1.0" Language="en-US" Publisher="Bandara" />
    <DisplayName>My Extension</DisplayName>
    <Description xml:space="preserve">My Extension Description</Description>
    <License>Resources\License.txt</License>
    <Icon>Resources\32x32icon.png</Icon>
    <PreviewImage>Resources\200x200logo.png</PreviewImage>
    <Tags>Tag X</Tags>
  </Metadata>
  <Installation>
    <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0,15.0]" />
    <InstallationTarget Version="[14.0,15.0]" Id="Microsoft.VisualStudio.Pro" />
    <InstallationTarget Version="[14.0,15.0]" Id="Microsoft.VisualStudio.Enterprise" />
  </Installation>
  <Dependencies>
    <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
    <Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" d:Source="Installed" Version="[14.0]" />
  </Dependencies>
  <Assets>
    <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
    <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
  </Assets>
</PackageManifest>
2017-05-30T14:08:29.9662395Z###[部分]开始:发布扩展 2017-05-30T14:08:30.3822685Z在以下条件下检查tfx: C:\agent\u work\u tools\tfx.cmd 2017-05-30T14:08:30.3842666Z找到tfx 下:C:\agent\u work\u tools\tfx.cmd 2017-05-30T14:08:30.3902665Z fb1f75e8-b06a-414f-bed5-668a1a1b62f9是否存在 2017-05-30T14:08:30.4122731Z [命令]C:\agent\u work\u tasks\PublishExtension\uuuxxxxxx-50ab-47c8-b766-7ae2aa672733\1.1.44\node\u modules\7zip bin win\x64\7za.exe x C:\test\MyVSExtension.vsix -oC:\Users\xxx\AppData\Local\Temp\2\vsixeditor117430-13304-9r8956-y-spd-aoa 2017-05-30T14:08:30.4712737Z 2017-05-30T14:08:30.4722738Z 7-Zip(a)[64]16.04:版权(c) 1999-2016伊戈尔·巴甫洛夫:2016-10-04 2017-05-30T14:08:30.4722738Z 2017-05-30T14:08:30.4722738Z扫描驱动器以查找归档文件: 2017-05-30T14:08:30.4722738Z 1文件,1317288字节(1287kib) 2017-05-30T14:08:30.4722738Z 2017-05-30T14:08:30.4722738Z 存档:C:\test\MyVSExtension.vsix 2017-05-30T14:08:30.4722738Z-- 2017-05-30T14:08:30.4732733Z路径=C:\test\MyVSExtension.vsix 2017-05-30T14:08:30.4732733Z Type=zip 2017-05-30T14:08:30.4732733Z 物理尺寸=1317288 2017-05-30T14:08:30.4732733Z 2017-05-30T14:08:30.4732733Z一切正常 2017-05-30T14:08:30.4732733Z 2017-05-30T14:08:30.4732733Z文件:13 2017-05-30T14:08:30.4732733Z尺寸:1315278 2017-05-30T14:08:30.4732733Z压缩:1317288 2017-05-30T14:08:30.4812847Z###[错误]准备前发生错误 要运行tfx:确定任务清单路径时出错:错误:enoint:否 这样的文件或目录,打开 'C:\Users\xxxxxxx\AppData\Local\Temp\2\vsixeditor117430-xxxxx-9r8956\extension.vsomanifest' 2017-05-30T14:08:30.4962729Z###[部分]整理:发布扩展

扩展清单:

<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
  <Metadata>
    <Identity Id="xxxxx-xxxx-xxxx-xxxx-xxxxx" Version="1.0" Language="en-US" Publisher="Bandara" />
    <DisplayName>My Extension</DisplayName>
    <Description xml:space="preserve">My Extension Description</Description>
    <License>Resources\License.txt</License>
    <Icon>Resources\32x32icon.png</Icon>
    <PreviewImage>Resources\200x200logo.png</PreviewImage>
    <Tags>Tag X</Tags>
  </Metadata>
  <Installation>
    <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0,15.0]" />
    <InstallationTarget Version="[14.0,15.0]" Id="Microsoft.VisualStudio.Pro" />
    <InstallationTarget Version="[14.0,15.0]" Id="Microsoft.VisualStudio.Enterprise" />
  </Installation>
  <Dependencies>
    <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
    <Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" d:Source="Installed" Version="[14.0]" />
  </Dependencies>
  <Assets>
    <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
    <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
  </Assets>
</PackageManifest>

我的分机
我的分机描述
Resources\License.txt
参考资料\32x32icon.png
参考资料\200x200logo.png
标签X

VSTS开发人员工具生成任务无法用于发布VS扩展,目前没有此生成任务。

您是否手动检查路径
C:\Users\xxxxxxx\AppData\Local\Temp\2\vsixeditor117430-xxxxx-9r8956
?你能找到扩展名为.vsomanifest的文件吗?确保生成服务帐户对生成代理上的文件路径具有足够的权限。要发布哪个扩展名?此任务用于发布VSTS扩展。@Patrick MSFT:清单文件在C:\Users\xxxxxxx\AppData\Local\Temp\2\vsixeditor117430-xxxxx中不可用‌​-9r8956文件夹。@Eddie MSFT:我正在发布Visual Studio扩展(不是VSTS扩展),我们可以使用它在测试环境中发布VS扩展。以下是我们用于选择此生成任务的参考@由于VS扩展名中的文件与VSTS扩展名不同,所以连接了Bandara。它是VS扩展中的extension.vsixmanifest。您可以在测试环境中共享构建日志吗?