ionide-vscode-fsharp icon indicating copy to clipboard operation
ionide-vscode-fsharp copied to clipboard

`dotnet paket install` breaks project parsing

Open Krzysztof-Cieslak opened this issue 3 years ago • 3 comments

After dotnet paket install project system returns project data contains no references at all. It's fixed by manually running dotnet restore after dotnet paket install has finished.

We should somehow detect that dotnet paket install/update were run and fire dotnet restore automatically.

CC: @forki

Krzysztof-Cieslak avatar Dec 22 '20 14:12 Krzysztof-Cieslak

paket install / update we could touch a file in /obj - but I think it actually already deletes the project.assets.json Shouldn't this be enough?

forki avatar Feb 11 '21 12:02 forki

I suspect there's something weird going on with parsing project files for which project.assets.json doesn't exist. I think it's some kind of regression I've introduced when rewriting the project system, not the Paket issue.

Krzysztof-Cieslak avatar Feb 11 '21 14:02 Krzysztof-Cieslak

Do we already have a repro?

Krzysztof Cieślak [email protected] schrieb am Do., 11. Feb. 2021, 15:36:

I suspect there's something weird going on with parsing project files for which project.assets.json doesn't exist. I think it's some kind of regression I've introduced when rewriting the project system, not the Paket issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ionide/ionide-vscode-fsharp/issues/1459#issuecomment-777505196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOANDTGAS5JJDAKFT3QHLS6PTNTANCNFSM4VFWEOGA .

forki avatar Feb 11 '21 15:02 forki