QSP ecosystem written in F# environment. Contains: language core (AST, parser, printer), language server (LSP) and CLI utility for manipulating language sources.
4
stars
1
forks
source link
fix(build): error MSB4181: The "PackTask" task returned false but did not log an error #30
git clone https://github.com/gretmn102/FParserQSP.git Qsp.FSharp
cd Qsp.FSharp
git checkout 82b286b22b5f3f464d880be4e9b1cfdf1517b10e
dotnet tool restore
dotnet paket install
cd src/Qsp.FSharp.Core
dotnet pack
On Windows
>dotnet --version
3.1.426
E:\ProjectGit\Qsp.FSharp\src\Qsp.FSharp.Core>dotnet pack
Microsoft (R) Build Engine version 16.7.3+2f374e28e for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored E:\ProjectGit\Qsp.FSharp\src\Qsp.FSharp.Core\Qsp.FSharp.Core.fsproj (in 4,16 sec).
C:\Program Files\dotnet\sdk\3.1.426\Microsoft.Common.CurrentVersion.targets(2084,5): warning MSB3088: Could not read state file "obj\Debug\netstandard2.0\Qsp.FSharp.Core.fsprojAssemblyReference.cache". End of Stream encountered before parsing was completed. [E:\ProjectGit\Qsp.FSharp\src\Qsp.FSharp.Core\Qsp.FSharp.Core.fsproj]
Qsp.FSharp.Core -> E:\ProjectGit\Qsp.FSharp\src\Qsp.FSharp.Core\bin\Debug\netstandard2.0\Qsp.FSharp.Core.dll
Qsp.FSharp.Core -> E:\ProjectGit\Qsp.FSharp\src\Qsp.FSharp.Core\bin\Debug\net461\Qsp.FSharp.Core.dll
C:\Program Files\dotnet\sdk\3.1.426\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(198,5): error MSB4181: The "PackTask" task returned false but did not log an error. [E:\ProjectGit\Qsp.FSharp\src\Qsp.FSharp.Core\Qsp.FSharp.Core.fsproj]
On Linux
$ dotnet --version
3.1.426
fering@fering-comp:~/Qsp.FSharp/src/Qsp.FSharp.Core$ dotnet pack -c Release -p:TargetFrameworks=netstandard2.0
Microsoft (R) Build Engine version 16.7.3+2f374e28e for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored /home/fering/Qsp.FSharp/src/Qsp.FSharp.Core/Qsp.FSharp.Core.fsproj (in 205 ms).
Qsp.FSharp.Core -> /home/fering/Qsp.FSharp/src/Qsp.FSharp.Core/bin/Release/netstandard2.0/Qsp.FSharp.Core.dll
/home/fering/dotnet/sdk/3.1.426/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(198,5): error MSB4181: The "PackTask" task returned false but did not log an error. [/home/fering/Qsp.FSharp/src/Qsp.FSharp.Core/Qsp.FSharp.Core.fsproj]
Reproduction
On Windows
On Linux