fsprojects / FSharp.Compiler.PortaCode

The PortaCode F# code format and corresponding interpreter. Used by Fabulous and others.
Other
42 stars 11 forks source link

Cannot build FsLive.Cli #3

Closed vasily-kirichenko closed 5 years ago

vasily-kirichenko commented 5 years ago
..\FSharp.Compiler.PortaCode\FsLive.Cli>dotnet build
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for ..\FSharp.Compiler.PortaCode\FsLive.Cli\FsLive.Cli.fsproj...
  Restore completed in 27,21 ms for ..\FSharp.Compiler.PortaCode\src\FSharp.Compiler.PortaCode.fsproj.
  Generating MSBuild file ..\FSharp.Compiler.PortaCode\FsLive.Cli\obj\FsLive.Cli.fsproj.nuget.g.props.
  Restore completed in 296,85 ms for ..\FSharp.Compiler.PortaCode\FsLive.Cli\FsLive.Cli.fsproj.
  FSharp.Compiler.PortaCode -> ..\FSharp.Compiler.PortaCode\src\bin\Debug\netstandard2.0\FSharp.Compiler.PortaCode.dll
C:\Program Files\dotnet\sdk\2.2.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.PackTool.targets(74,5): error NETSDK1054: only supports .NET Core. [..\FSharp.Compiler.PortaCode\FsLive.Cli\FsLive.Cli.fsproj]
  FsLive.Cli -> ..\FSharp.Compiler.PortaCode\FsLive.Cli\bin\Debug\netcoreapp2.1\FsLive.Cli.dll

Build FAILED.

C:\Program Files\dotnet\sdk\2.2.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.PackTool.targets(74,5): error NETSDK1054: only supports .NET Core. [..\FSharp.Compiler.PortaCode\FsLive.Cli\FsLive.Cli.fsproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.60
dsyme commented 5 years ago

Works for me

C:\GitHub\dsyme\tmp>git clone https://github.com/fsprojects/FSharp.Compiler.PortaCode
Cloning into 'FSharp.Compiler.PortaCode'...
remote: Enumerating objects: 104, done.
remote: Counting objects: 100% (104/104), done.
remote: Compressing objects: 100% (59/59), done.
Receiving objects: 100% (104/104), 57.42 KiB | 691.00 KiB/s, done

Resolving deltas: 100% (59/59), done.

C:\GitHub\dsyme\tmp>dotnet build FSharp.Compiler.PortaCode
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\src\FSharp.Compiler.PortaCode.fsproj...
  Restoring packages for C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\tests\FsLive.Cli.Tests.fsproj...
  Restoring packages for C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\FsLive.Cli\FsLive.Cli.fsproj...
  Generating MSBuild file C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\src\obj\FSharp.Compiler.PortaCode.fsproj.nuget.g.props.
  Generating MSBuild file C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\src\obj\FSharp.Compiler.PortaCode.fsproj.nuget.g.targets.
  Generating MSBuild file C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\FsLive.Cli\obj\FsLive.Cli.fsproj.nuget.g.props.
  Generating MSBuild file C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\FsLive.Cli\obj\FsLive.Cli.fsproj.nuget.g.targets.
  Restore completed in 780.33 ms for C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\src\FSharp.Compiler.PortaCode.fsproj.
  Restore completed in 796.81 ms for C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\FsLive.Cli\FsLive.Cli.fsproj.
  Generating MSBuild file C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\tests\obj\FsLive.Cli.Tests.fsproj.nuget.g.props.
  Generating MSBuild file C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\tests\obj\FsLive.Cli.Tests.fsproj.nuget.g.targets.
  Restore completed in 834.41 ms for C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\tests\FsLive.Cli.Tests.fsproj.
  FSharp.Compiler.PortaCode -> C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\src\bin\Debug\netstandard2.0\FSharp.Compiler.PortaCode.dll
  FsLive.Cli -> C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\FsLive.Cli\bin\Debug\net471\FsLive.Cli.exe
  FsLive.Cli -> C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\FsLive.Cli\bin\Debug\netcoreapp2.1\FsLive.Cli.dll
  FsLive.Cli.Tests -> C:\GitHub\dsyme\tmp\FSharp.Compiler.PortaCode\tests\bin\Debug\netcoreapp2.1\FsLive.Cli.Tests.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:10.01