我试图让我的持续集成在命令行上从msbuild中创建构建智能设备cab项目.我发现的所有东西都说使用在visual studio中构建项目时创建的inf文件(带有cabwiz).有没有办法使用.vddproj文件创建inf,以便我可以将它与cabwiz.exe一起使用?
我有一个视图模型,其属性看起来像这样
Property SelectedGroups() as List(of string)
Run Code Online (Sandbox Code Playgroud)
在视图中我有这样的东西
<table>
<tr>
<th>Description</th>
</tr>
<tr>
<td>
<input type="hidden" name="SelectedGroups" value="one" />
description one
</td>
</tr>
<tr>
<td>
<input type="hidden" name="SelectedGroups" value="two" />
description two
</td>
</tr>
<tr>
<td>
<input type="hidden" name="SelectedGroups" value="three" />
description three
</td>
</tr>
</table>
Run Code Online (Sandbox Code Playgroud)
使用jquery添加和删除表行.有没有办法在SelectedGroups属性上创建一个验证属性,该属性需要列表的最小项目数?这可以用javascript完成,但我希望它可以使用
<% Html.EnableClientValidation()%>
<%: Html.ValidationSummary(False)%>
Run Code Online (Sandbox Code Playgroud)