我在ubuntu 16.04上使用dotnet core 2.2上的基本项目模板(websharper-web)玩websharper。
我刚刚使用基本模板来创建项目:
dotnet new websharper-web -lang F#
当我尝试构建时,我遇到了一般错误:
1>/usr/share/dotnet/sdk/2.1.4/FSharp/Microsoft.FSharp.Targets(263,9): error MSB6006: "wsfsc.exe" exited with code 8. [/home/barrys/Documents/code/FSharp/WebSharperTest/WebSharperTest.fsproj]
1>Done Building Project "/home/../Documents/code/FSharp/WebSharperTest/WebSharperTest.fsproj" (Build target(s)) -- FAILED.
Build FAILED.
"/home/../Documents/code/FSharp/WebSharperTest/WebSharperTest.fsproj" (Build target) (1:10) ->
(CoreCompile target) ->
/usr/share/dotnet/sdk/2.1.4/FSharp/Microsoft.FSharp.Targets(263,9): error MSB6006: "wsfsc.exe" exited with code 8. [/home/barrys/Documents/code/FSharp/WebSharperTest/WebSharperTest.fsproj]
我在构建输出上也收到了大量这些类型的警告,但不确定其意义是什么:
1>_HandlePackageFileConflicts:
Encountered conflict between 'Reference:/usr/share/dotnet/sdk/NuGetFallbackFolder/microsoft.netcore.app/2.0.0/ref/netcoreapp2.0/System.AppContext.dll' and 'Reference:/usr/share/dotnet/sdk/NuGetFallbackFolder/system.appcontext/4.3.0/ref/netstandard1.6/System.AppContext.dll'. Choosing 'Reference:/usr/share/dotnet/sdk/NuGetFallbackFolder/microsoft.netcore.app/2.0.0/ref/netcoreapp2.0/System.AppContext.dll' because AssemblyVersion '4.2.0.0' is greater than '4.1.0.0'.
有人可以告诉我是否应该能够在ubuntu上构建和运行websharper,如果是这样,请给我更多关于构建错误意味着什么以及如何修复的信息?
由于