【发布时间】:2015-07-02 19:26:08
【问题描述】:
我正在尝试在 Nuspec 中创建 PlaceHolders 并通过 TeamCity 参数替换它们,但 teamcity 无法识别它们。 这是我的 NuSpec 文件元数据
<metadata>
<id>Id.@environment@</id>
<title>Title.@environment@</title>
<version>1.0.0</version>
<authors>Charles Taylor</authors>
<owners>Charles Taylor</owners>
<licenseUrl>http://www.ctcplc.com</licenseUrl>
<projectUrl>http://www.ctcplc.com</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Currency Request</description>
<releaseNotes></releaseNotes>
</metadata>
我在 TeamCity 中有一个环境变量。 Team City 在构建期间崩溃,我无法识别这些值。
我尝试将@更改为$,但没有成功。
【问题讨论】:
标签: c# teamcity nuget-package