Skip to content

v0.1.3

Pre-release
Pre-release

Choose a tag to compare

@hempe hempe released this 27 Oct 21:03
· 213 commits to master since this release

New features, the rest of the code review and a Solution Explorer toolbar.

New

  • Entity Framework: projects that reference Entity Framework Core have Add Migration, Update Database and Remove Last Migration in their context menu (dotnet ef, with startup project and DbContext choice, and an offer to install dotnet-ef).
  • NuGet manager: installed versions with known vulnerabilities (severity, advisory links) or that are deprecated (with the replacement) are labelled, and the Installed tab can filter for them. Browse has a Package source dropdown (All, or one source) and every tab a Refresh button.
  • Package sources like Visual Studio (opt-in setting shinobi.nuget.packageSources): a Sources tab to add, remove, enable and disable feeds, and Package Source Mapping in the package details and in Browse.
  • Solution Explorer toolbar above the tree (configuration, framework or startup profile, Start, Sync, Show All Files, Collapse All) instead of title icons that VS Code hides in a narrow view. Built-in icons are VS Code's codicons (nothing is fetched from the internet any more); your file icon theme is still honored. New Dependencies > Frameworks node (Microsoft.NETCore.App, Microsoft.AspNetCore.App), and files a project links from outside its folder count in the error markers.
  • .nuget/NuGet.Config: Visual Studio's solution-level config is read by the NuGet manager, and the extension offers to move or copy it to nuget.config (where dotnet restore reads it) when a solution opens or a restore fails.

Fixes

  • Solution files: Add and Rename Solution Folder refuse a name a folder next to it has; Remove Solution Folder removes projects of every type and their configuration lines, also with lower-case GUIDs; .slnx edits ignore XML comments; a .sln with an absolute project path loads, and a project that cannot be read is skipped instead of failing the solution; a moved .slnx solution folder stays open.
  • NuGet: http:// feeds work; redirects are followed without passing credentials to another host; answers have a size and time limit; folder sources no longer slow package lookups down; icons and READMEs are looked up on nuget.org only when it is a source; Browse showed the lowest version of a package several sources have, now the highest; the cache refreshes stale answers after 5 seconds, replaces private feeds' entries and is not undone by Refresh; one dotnet list package per project; package rows no longer get wider than the list and the lists scroll.
  • Test Explorer: a failed build shows its first errors in the test message and Cancel stops it; a test host that crashes on start is reported at once.
  • Startup project: choosing a startup project, framework or profile in quick succession ends with the last choice.
  • Templates: the wizards use the SDK that global.json picks, as dotnet new will.
  • Service references: Add and Update Service Reference keep edits made to the project file meanwhile.
  • Solution Explorer: a file moved into a collapsed folder shows; hovering and switching editors no longer render every row; version properties of a parent Directory.Packages.props imported with unquoted GetPathOfFileAbove are found; the Configuration Manager and startup tabs follow Open Solution; the webviews no longer allow unsafe-eval.