NotImplementedException from IVsPathContextProvider.TryCreateContext when called for a vdproj #5089
Labels
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:VS.Client
Status:Excluded from icebox cleanup
Status:Inactive
Icebox issues not updated for a specific long time
Type:Bug
Milestone
NuGet product used: VS UI
NuGet version: 4.2.0.2451
VS version: d15rel 26419.1
OS version: rs2_release 15063.0.170323-1837
IVsPathContextProvider.TryCreateContext throws NotImplementedException when it’s called on a vdproj (Visual Studio Installer project). The exception originates from NuGet's call to EnvDTE.Project.get_ParentProjectItem.
Since the project system is extensible and 3rd party project systems might not act like the more common managed/C++ project systems, I'm thinking that perhaps NuGet should be catching all exceptions thrown from all EnvDTE Project API calls on random projects (not just this call) rather than letting them propagate to the caller.
I'm sure you could come up with a simpler repro, but here's how I'm hitting it...
First you need to install the Installer projects extension:
Then to actually repro the issue:
Result: NotImplementedException thrown from:
The text was updated successfully, but these errors were encountered: