2

我正在尝试在 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

谢谢!

4

0 回答 0