tintoy / msbuild-project-tools-vscode

VS Code extension for MSBuild intellisense (including PackageReference completion).
MIT License
82 stars 16 forks source link

Hovering over PackageReference elements to show restored version always displays "Not restored" #75

Closed mario-d-s closed 3 years ago

mario-d-s commented 3 years ago

It's as simple as the title says. When enabling the extension I can hover the cursor over a <PackageReference> element in a .csproj file, and the tooltip says State: not restored no matter what I try.

To verify it's not due to any complexity of our existing solution, I did:

  1. dotnet new console
  2. dotnet package add newtonsoft.json
  3. dotnet restore

newtonsoft.json state is "not restored" according to this extension.

mario-d-s commented 3 years ago

Hmm, for some reason this is now working for me. Could be I needed to restart VS Code. The C# extension is also giving me trouble a lot, sometimes needing VS Code restarts. I'll close this issue for now.

tintoy commented 3 years ago

Sorry you’re having trouble. Feel free to reopen if it happens again 🙂