Each .NET project lists its packages, project references, framework references and analyzers under a Dependencies node.
Expandable .csproj rows keep their file behaviour (open, rename, context menu), same-named references and analyzers stay distinct, and the evaluated target framework is labelled.
Co-authored-by: wildcatDownstairs <[email protected]>
Add Existing Project, Add/Remove Project Reference and Remove from Solution on .NET solution and project nodes, running dotnet sln/reference one at a time.
Queued edits are cancelled when the workspace changes, the tree refreshes after a partially failed CLI edit, and solution paths are normalized before comparing them.
Co-authored-by: wildcatDownstairs <[email protected]>
Since #6224 the Project view listed every discovered .NET solution and standalone project above the project folder, so a polyglot repository with many solutions in subfolders got dozens of root nodes ahead of its own folder. Only solution and project files directly in a content root (the project root, or each workspace member folder) now get a node there; nested ones stay in their folders, where they already showed.
Fixes#6803
While the .NET workspace scan runs, or after it failed, the Project view showed nothing where the solutions would appear. One placeholder .NET root now carries the state as grey detail text (Scanning… / Scan failed); idle and empty still registers no root, and a failed scan still retries on next use.
Refs #5635
Co-authored-by: Inf1mum <[email protected]>
The Project view lists the discovered .NET workspace above the project folder: a Solution '<name>' group per solution with a leaf per project, and standalone projects as roots of their own. Each leaf is the real project file, so run/debug, build, selection and Select In work on it, and the same file still shows in its own folder.
The shared workspace scan starts only when the file index holds .sln, .slnx or project files; the check retries once the index settles, so a fresh open still gets the nodes, and a workspace without .NET is never scanned at open. Project view roots gain an optional file leaf for this.
Co-authored-by: Inf1mum <[email protected]>
Removes the standalone .NET tool window, its stripe button and dotnet.show. NuGet package search / install / update / remove move to a bottom "NuGet Packages" tool window (stripe onUse) opened by dotnet.packages. Build / Restore / Clean / Test act on the project of the current context: the Project view's selected .csproj / .fsproj / .vbproj / .sln, else the active editor's project, else the solution (the NuGet-selected project without one); an unloaded workspace model is scanned once, shared between concurrent actions and the NuGet window, and retried after a failure. Build / Restore / Clean join the Project view context menu for project and solution files.
Review fixes: the context target reads the workbench projectViewSelection() instead of importing the project-tree store; the NuGet window loads the model through the shared scan; the menu uses the same path helpers as the target resolution.
Refs #5635
Co-authored-by: Inf1mum <[email protected]>
* feat(run): show .NET test results and rerun failed methods
* feat(dotnet): add workspace, NuGet and editor test workflows
* fix(dotnet): discard cancelled queries and scan test targets linearly