在MSBuild v4中,可以使用Propertiesstring.replace上的函数(如).但是我如何在元数据上使用函数?
我想使用如下string.replace功能:
<Target Name="Build">
<Message Text="@(Files->'%(Filename).Replace(".config","")')" />
</Target>
Run Code Online (Sandbox Code Playgroud)
不幸的是,这输出(不是我想要的): log4net.Replace(".config",""); ajaxPro.Replace(".config",""); appSettings.Replace(".config"," "); cachingConfiguration20.Replace("配置" "");.cmsSiteConfiguration.Replace( ""); dataProductsGraphConfiguration.Replace(" "配置".配置" "");.ajaxPro.Replace(".配置" , ""); appSettings.Replace( "配置", ""); cachingConfiguration20.Replace( "配置", ""); cmsSiteConfiguratio
有什么想法吗?
msbuild ×1