【问题标题】:Constructor on type 'System.String[]' not found找不到类型“System.String[]”的构造函数
【发布时间】:2013-04-22 18:47:12
【问题描述】:

我在 BuildTemplate.xaml 中定义了一个新参数,其类型为 String[][]。

现在,当我打开构建模板并尝试填充参数时,我得到了错误:

找不到类型“System.String[]”的构造函数。

有什么问题?

【问题讨论】:

  • String[] 没有默认构造函数,因此它不适用于集合编辑器。

标签: tfs arguments build-automation tfsbuild


【解决方案1】:

尝试使用

IEnumerable<string>

【讨论】:

  • 我在 List 上试过这个,它应该是一个 IEnumerable。我遇到了同样的错误。
猜你喜欢
  • 1970-01-01
  • 2010-12-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-10-24
  • 1970-01-01
相关资源
最近更新 更多