【发布时间】:2014-12-01 21:06:35
【问题描述】:
尝试
Nuspec
<files>
<file src="https://raw.githubusercontent.com/030/chocolateyautomatic/master/common/Uninstall-ChocolateyZipPackage030.ps1" target="tools" />
</files>
结果
文件未添加到工具目录
运行cpack 表示如下:
Calling 'C:\ProgramData\Chocolatey\chocolateyinstall\nuget.exe pack -NoPackageAnalysis
Attempting to build package from 'eclipse.nuspec'.
The given path's format is not supported.
尝试两次
<files>
<file src="path\to\chocolateyautomatic\common\Uninstall-ChocolateyZipPackage030.ps1" target="tools\Uninstall-ChocolateyZipPackage030.ps1" />
</files>
结果二
The given path's format is not supported. 问题已消失,但Uninstall-ChocolateyZipPackage030.ps1 文件未添加到工具目录中。
【问题讨论】:
-
你的
标签在 标签中吗?换句话说,整个文件是什么样的?
标签: nuget chocolatey