Comments (5)
The problem still happens with VS2017 15.9.9 :(
The fix seems to be straightforward - it is enough to catch System.Runtime.InteropServices.COMException
in GetDTE()
(in \VSFileNav\VSNav\Code\Gathering\EventManager.cs
):
try
{
this.webProjectEvents = dte.Events.GetObject("WebSiteItemsEvents") as ProjectItemsEvents;
}
catch (System.Runtime.InteropServices.COMException)
{
}
I tested it in my VS2017 without installed ASP.NET, and the custom-built addon works fine :)
Here is the binary with hotfix - VSNav-HotFix.vsix.zip
Just a reminder: the command is Edit.QuickFindFile
with global shortcut Ctrl + Alt + F
.
PS: Since this addon seems to be abandoned, it makes sense to switch to native navigation with Ctrl+,
or Ctrl+Shift+T
(see also https://stackoverflow.com/a/44164379/536172).
from vsfilenav.
I've taken a look into the code and found the fragment in \VSFileNav\VSNav\Code\Gathering\EventManager.cs
:
this.cSharpProjectEvents = dte.Events.GetObject("CSharpProjectItemsEvents") as ProjectItemsEvents;
this.vbProjectEvents = dte.Events.GetObject("VBProjectItemsEvents") as ProjectItemsEvents;
this.webProjectEvents = dte.Events.GetObject("WebSiteItemsEvents") as ProjectItemsEvents;
My Visual Studio Community 2017 (15.5.6) doesn't have the feature for Web-development installed (I've installed only limited set of features), so I guess the problem may be related to this...
I've accidentally ran into the missing feature error when trying to open some specific project:
Here is the full list of installed products:
It looks like a problem in VS, which fires a critical error when requested features isn't installed... but I could have overlooked something.
from vsfilenav.
I installed the ASP.Net and Web Development Package and that fixed the problem for me.
from vsfilenav.
Installing extra features is a good workaround. Though with a small free space (on some SSDs) it may present a challenge...
And I'd expect the issue to be fixed other way (installing unusable features of VS2017 seems to be an overkill).
from vsfilenav.
Hello. I also experienced this issue. I have 110Gb ssd with a little space left, so, yep, it's challenging.
from vsfilenav.
Related Issues (20)
- Visual Artifact on a Row HOT 1
- Double Border HOT 1
- 120 DPI HOT 2
- Class Searching HOT 1
- Update Readme
- Page Up / Page Down HOT 1
- Remember Window position
- Fix the manifest
- Space as wildcard HOT 1
- Space as OR splitter HOT 5
- Culture based string searching
- Images! HOT 6
- Compatibility with VS 2015 HOT 5
- Any license on this? HOT 1
- Installation failed for unkown reason with VS 2013 HOT 1
- Visual Studio 2017 support? HOT 6
- Req: removing duplicates HOT 1
- embed in VS window HOT 2
- I can't find the license information.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsfilenav.