Giter VIP home page Giter VIP logo

Comments (6)

RenniePet avatar RenniePet commented on August 22, 2024

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.

RenniePet avatar RenniePet commented on August 22, 2024

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.

extensibilitytoolscrash2

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.

RenniePet avatar RenniePet commented on August 22, 2024

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.

madskristensen avatar madskristensen commented on August 22, 2024

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.

RenniePet avatar RenniePet commented on August 22, 2024

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.

madskristensen avatar madskristensen commented on August 22, 2024

That is very strange. Thanks for looking in to it. I'll add your fix

from extensibilitytools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.