Giter Site home page Giter Site logo

ProjectType project gives "VSSDK1031: Extension error" on build after uninstalling the extension in the experimental instance about vsprojectsystem HOT 7 CLOSED

microsoft avatar microsoft commented on May 19, 2024
ProjectType project gives "VSSDK1031: Extension error" on build after uninstalling the extension in the experimental instance

from vsprojectsystem.

Comments (7)

dmihailescu avatar dmihailescu commented on May 19, 2024 4

under the Project properties go to the VSIX tab.
UNcheck 'Deploy VSIX content to experimental instance for debugging' and build.
If you needed to debug, check it back and build again.

from vsprojectsystem.

AArnott avatar AArnott commented on May 19, 2024 3

I believe another workaround is to simply relaunch 'devenv /rootsuffix exp' yourself, and close. After that, I think it works.

from vsprojectsystem.

rprouse avatar rprouse commented on May 19, 2024 2

Another workaround is to delete your experimental instance. For example, for Visual Studio 2015, delete the folder

C:\Users\{user}\AppData\Local\Microsoft\VisualStudio\14.0Exp

from vsprojectsystem.

drewnoakes avatar drewnoakes commented on May 19, 2024 1

There's also a shortcut in the start menu to reset the hive, which I find helpful.

image

from vsprojectsystem.

davjs avatar davjs commented on May 19, 2024

Changing the version number in the source.extension.vsixmanifest file is a workaround that doesn't seem all too problematic.

I vote to close this for now, with this information kept for reference.

from vsprojectsystem.

GregTrevellick avatar GregTrevellick commented on May 19, 2024

You can always reset the experimental instance, although up-ing the version number worked for me.

To reset the experimental instance:
http://www.codeproject.com/Tips/832362/Resetting-the-Visual-Studio-Experimental-Instance
https://msdn.microsoft.com/en-us/library/dd875761.aspx

from vsprojectsystem.

yannduran avatar yannduran commented on May 19, 2024

Hmm, here we are in 2023 now! I found this issue because I had the very same error and this was the top of the search results. I'm glad this issue was here to help me almost 8 years later.

The weird thing is I've uninstalled the extension that I've been working on many times from the Experimental instance (when my current version number is less than, or equal to the installed version), and I've never encountered this error before. But it occurred today, just as explained.

@AArnott's suggestion of course did the trick, but I used Mads Kristensen's Clear MEF Component Cache extension, but I did it in the instance of VS that I'm developing with, and didn't think to do it in the Experimental instance, as I've never needed to do that before.

Thanks!

from vsprojectsystem.

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.