question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paket: 5.92.0-alpha001 fail to generate correct project.assets.json

See original GitHub issue

I just updating one of my project to use NETStandard 2.0.

When using paket 5.92.0-alpha001 I got this project.assets.json which is wrong. It does not contains my dependencies.

If I use paket 5.91.0, then I got this file.

As you can see the first file is missing a lot of deps like Fable.Core.

Here is my paket.dependencies:

framework: netstandard2.0

source https://www.nuget.org/api/v2

nuget Fable.Core prerelease
nuget Fable.Elmish.React
nuget Fable.Elmish.Browser
nuget Fable.Elmish.Debugger
nuget Fable.PowerPack
nuget Fable.React prerelease

clitool dotnet-fable prerelease

group Build
framework: net46

    source https://nuget.org/api/v2
    nuget FSharp.Core  redirects:force, content:none
    nuget FAKE

    github fsharp/FAKE modules/Octokit/Octokit.fsx

Paket.references:

Fable.Core
Fable.React

Please tell me if you need more infos.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
matthidcommented, Aug 28, 2017

Will be fixed with https://github.com/fsprojects/Paket/pull/2684, thanks for reporting and testing the alpha!

1reaction
matthidcommented, Aug 28, 2017

Ah good, will try to reproduce later

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assets file project.assets.json not found. Run a NuGet ...
The error occurs because the dotnet cli does not create the all of the required files initially. Doing dotnet restore adds the required...
Read more >
NETSDK1004: Assets file not found - .NET CLI
This error occurs when the assets file project.assets.json is not found during build. ... Run a NuGet package restore to generate this file....
Read more >
Issues
I get the following error: Assets file '.../MauiTutorialProject/obj/project.assets.json' not found. Run NuGet package restore to generate this ...
Read more >
NuGet Restore build issues - project.assets.json doesn't ...
Since upgrading to the Preview 3 (from Preview 2), I have been unable to build our repository due to multiple errors in build...
Read more >
[NETSDK1004] Assets file 'C:\MyProject\src\obj\project.assets ...
I came across this error while upgrading some libraries to .net6.0 and .Net Framework 4.7.2. As I use Paket in preference to Nuget,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found