我试图在mono + xbuild上构建一个WebSharper应用程序,我遇到了以下错误:
Error building target WebSharperPrepare: Can't concatenate Item list with other strings where an item list is expected ('/home/ovidiu/work/hmft/src/hmft/hmft.common/obj/Debug/Raw/', '@(IntermediateAssembly->'%(Filename)%(Extension)')'). Use semi colon to separate items.
目标描述是这样的:
<Target Name="WebSharperPrepare">
<PropertyGroup>
<RawFolder>$(MSBuildProjectDirectory)\obj\$(Configuration)\Raw</RawFolder>
<RawIntermediateAssembly>$(RawFolder)\@(IntermediateAssembly->'%(Filename)%(Extension)')</RawIntermediateAssembly>
<ProcessedIntermediateAssembly>@(IntermediateAssembly->'%(FullPath)')</ProcessedIntermediateAssembly>
</PropertyGroup>
<MakeDir Directories="$(RawFolder)" />
<ItemGroup>
<IntermediateAssembly Remove="@(IntermediateAssembly)" />
<IntermediateAssembly Include="$(RawIntermediateAssembly)" />
</ItemGroup>
</Target>
知道如何解决这个问题?
更新:我使用单声道版本3.2.3和websharper 2.4.85
谢谢!