Paket with net core 3.0 fails
See original GitHub issueDescription
When running as part of dotnet build for a NET Core 3.0 solution, paket fails with an error message:
Extracting platforms from path '${targetFramework}' failed, a newer Paket version might support it, otherwise please open an issue for a missing platform handler.
Strangely, when I build from Visual Studio, all is fine. And after once building from there, dotnet build works, too. Unfortunately, I cannot apply this workaround on my build agent.
The NET Core SDK version is 3.0.100. The Paket version is 5.220.0.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
NETSDK1079: The Microsoft.AspNetCore.All package is ...
You may receive this error message when: You retarget an ASP.NET Core project from .NET Core 2.2 or earlier to .NET Core 3.0...
Read more >Unable to find package Microsoft.NETCore.App.Host.win ...
csproj file? Your error message is quite specific on the version, indicating that something is requiring v2.2.7, perhaps another project in your ...
Read more >Paket and the .NET SDK / .NET Core CLI tools (dotnet CLI ...
NET Core ) or with MSBuild 15 (Visual Studio 2017 and Mono 5). The general workflow is not very different from using Paket...
Read more >Can't get paket to work for the simplest case : r/fsharp
Core. Performance: - Runtime: 757 milliseconds. And here's the error I get: user@vm:~/slnwithpaket$ dotnet run --project src/App ...
Read more >ASP.NET Core IIS InProcess Hosting Issue in .NET Core 3.1
Debugging Server Startup Failures. The ANCM (ASP.NET Core Module) error message page is scary because it doesn't provide much in the way of ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ScottHutchinson I’m trying to upgrade from netcoreapp3.0 to netcoreapp3.1. When running
paket restore
, I also getExtracting platforms from path 'netcoreapp3.1' failed
. I can still run the project using your workaround withpaket install
, but restore doesn’t work. Did you manage to solve it?Edit: I found out that my global paket tool wasn’t up to date, and once I got that upgraded I didn’t get the
paket restore
error anymore.Yeah something similar here. Just want to update a small project from .NET Core 3.0 to 3.1. Build from VS works,
dotnet build
as well,paket restore
also,paket install
also. Butfake build
showsThere was a problem while setting up the environment: -> Extracting platforms from path 'netcoreapp3.1' failed
.Using
Paket version 5.247.4
.