MsBuild项目生成参数配置
时间:2010-11-29 来源:小围脖
节点使用方法参考如下:
<ItemGroup>
<Reference Include="IronPython, Version= ...">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\shared\IronPython-1.1\IronPython.dll</HintPath>
</Reference>
<Reference Include="log4net, Version= ...">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\binaries\log4net.dll</HintPath>
</Reference>
<Reference Include="nunit.core, ...">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\shared\nunit2.2\nunit.core.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version= ...">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\shared\nunit2.2\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="nunit.util, ...">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\shared\nunit2.2\nunit.util.dll</HintPath>
</Reference>
</ItemGroup>
目前没有找到关于如何在VS中设置该项目参数的方法,若有朋友知道如何在VS中进行设置该节点,请赐教!
MSDN上关于该节点使用的介绍文章链接: