Comments (6)
Presumably trying to run Extensibility Tools as a test extension by hitting F5 was a mistake, and it's apparently a mistake which huge consequences. I've now completely uninstalled ExtensibilityTools from my Visual Studio and rebooted my PC and I'm still getting this crash when trying to follow the instructions in https://msdn.microsoft.com/en-us/library/dd885492.aspx !
from extensibilitytools.
This is getting worse and worse. I've now removed my local clone of Extensibility Tools from the local GitHub folder, and I'm still getting a crash.
I don't understand what's going on here. I'm not trying to do anything with Extensibility Tools at this point, I'm just trying to take the first baby steps in learning how to create a VS extension.
from extensibilitytools.
OK, after some Googling around I found this http://www.codeproject.com/Tips/832362/Resetting-the-Visual-Studio-Experimental-Instance and that fixed the problem.
On one hand I really appreciate that you created this extension. I expect that I'll be able to use some of what you've done in an extension I'm planning on making.
On the other hand, could you please make a change so that doing what I (stupidly?) did and cloning your project and hitting F5 to try it out doesn't have such drastic consequences. That has cost me quite a bit of time and has given me a bad initial impression of Visual Studio extension development.
from extensibilitytools.
Hitting F5 in this project didn't cause the issue you were describing. There must have been some sort of MEF cache corruption or similar going on and launching the Experimental Instance must have triggered something bad to happen
from extensibilitytools.
Well, for what it's worth it's reproducible for me. I've just re-cloned your project locally again, loaded it into Visual Studio, hit F5 and gotten the same crash. And from then on the experimental instance is kaput - if I try to test the minimal extension at https://msdn.microsoft.com/en-us/library/dd885492.aspx the same crash occurs again.
But I have discovered that if I add these two statements to the start of your PrepareForAppVeyor.BeforeQueryStatus() method then it stops crashing.
if (DTE.Solution.FullName == "")
return;
from extensibilitytools.
That is very strange. Thanks for looking in to it. I'll add your fix
from extensibilitytools.
Related Issues (20)
- Auto-sync VSCT and Auto-sync to Resx are not working in VS2017 - No error, nothing happens. HOT 5
- Exception raised on "Show Project Information" with C++ projects
- NullReferenceException while Debugging HOT 3
- KnownMoniker intellisense in WPF designer [feature request]
- [Want] Roslyn Quoter Tool
- Extension fails to install: Object reference not set to an instance of an object. HOT 2
- System.NullReferenceException: Object reference not set to an instance of an object. BottomMargin.cs:line 134
- Move Activity Log command to the Tools menu
- Microsoft.VisualStudio.Composition.PartDiscoveryException: Failure while scanning type "MadsKristensen.ExtensibilityTools.ExtensibilityToolsPackage". HOT 9
- How can we export the Image Monikers in the Dark theme?
- Error InvalidOperationException (A value for 'Component' needs to be specified in the catalog) on updating/uninstalling
- System.NullReferenceException in CssTools.CssExtensions.GetDeclarations HOT 1
- Visual Studio hangs with "Waiting for parse to complete..." when opened with the source for `source.extension.vsixmanifest` visible
- [Want] GitHub releases HOT 1
- VS 2019 support? HOT 2
- How to add my own command to the SSMS context menu? HOT 2
- The 'Enable VSIP Logging' menu is not showing, and no intellisense on VSCT files.
- Collapse or expand, How to Set folds?
- Cannot find custom tool 'VsctGenerator' on this system.
- Support VS 2019+? (Can't even build this in VS 2019)
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 extensibilitytools.