Open davkean opened 7 years ago
dupe/related of this one https://github.com/dotnet/roslyn-project-system/issues/403
I don't think this is a dupe, at least in the assembly/project version we should just use the existing infrastructure to open them. In this case, what would we even do? Loop over every reference and view them?
sure. For package i was planning to hide it as part of #403. Let's keep this issue to split the work and simplify reviews :)
Note: after cross targeting dependencies change , View in object browser needs to be handled on roslyn side completely for any kind of dependencies: assemblies and project we support it, for packages don't show context menu at all. CPS implementation of this command really hardcoded to IProjectItemTree , but we have IProjectItemTree items only for active target , not for others.
We need
@abpiskunov The links provided are broken.
Find files and lines from links in actual CPS code instead of index please.
@BenjaminHolland These are internal links to non-OSS.
This is still and issue for aspdotnetcore projects, and it just does not navigate.
It works for first 5-10, navigation, then after adding new classes etc, it stops working.
any improvement or workaround for this?
This is an issue for me in Visual Studio 2019 Preview. I can browse the NuGet dependency fine in VS 2017, but nothing happens in 2019.
I have this same issue in VS 2019.
2.5 years and many Visual Studio versions later and this serious bug still has not been addressed
How are we supposed to determine the exports of a third party assembly, ildasm?
Legacy does not include the View in Object Browser context menu item for package references.
When using the old-style packages.config, direct assembly references were added to the project as top-level items, and these would support the object browser.
Unlike legacy, the new project system allows expanding package references to see their inner assemblies. It may be possible to navigate to the object browser from a child assembly directly.
I'm trying to view the contents of a referenced DLL in an ASP.NET Core 3.1 project in Visual Studio 2019, but Solution Explorer gives me nothing to go on
This used to be done via Object Browser, but that gives me no information at all (not even about my own project).
Was this feature dropped?
@JohannSig the lack of this feature is what this issue is tracking.
In 16.7 we will show considerably more info in the tree for all dependencies, including packages. Each assembly in the package will be visible. We want to add this feature to those nodes.
I have "Version 16.7.0 Preview 3.1" of VS. I cannot expand a package reference added nuget package (to see assemblies). I get the following error (even after building / install) upon double click of the package (object browser isn't an option in the right click menu, if it is supposed to be).
@ShiningMassXAcc from your screenshot I see that you're using the 'legacy' project system (it has a "References" node, not a "Dependencies" node).
The improved behaviour is in the .NET Project System (which lives in this repo).
Expandable packages are provided by this project system only. To use it, you would update your projects to be SDK-style.
Note that "View in Object Browser" for those assemblies is still not implemented in this project system.
There are two action items here: