question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft.VisualStudio.Component.CoreEditor not found

See original GitHub issue

Hey,

I have compiled latest master and I’m trying to install the ProjectSystem.vsix with a different packageid (+different id for CSharp projects, I removed VB…etc.)

But when trying to install the result vsix from debug folder, I’m getting the following exception from the logs:

 Extension cannot be installed to the following products due to missing prerequisites:
 	Visual Studio Enterprise 2019 Preview
 		-------------------------------------------------------
 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
 		Name         : Visual Studio core editor
 		Version      : [15.0,16.0)
 		Error        : The prerequisite version specified does not match the version installed

I can’t find anything about this Microsoft.VisualStudio.Component.CoreEditor How can I install it? Why is is not part of my existing VS2019 Preview?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jmarolfcommented, Jan 14, 2019

So, this is essentially a VSIX bug. The project system VSIXes are “special” in that they have manifest information that identifies them as “System Components”. If you were to look at the extension.vsixmanifest file inside artifacts\Debug\VSSetup\ProjectSystem.vsix you would see an entry like this:

  <Installation SystemComponent="true" Experimental="true">
    <InstallationTarget Version="[15.0,]" Id="Microsoft.VisualStudio.Pro" />
    <InstallationTarget Version="[15.0,]" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
    <InstallationTarget Version="[15.0,]" Id="Microsoft.VisualStudio.VWDExpress" />
    <InstallationTarget Version="[15.0,]" Id="Microsoft.VisualStudio.VSWinExpress" />
  </Installation>

SystemComponent="true" means that this isn’t a real vsix but a core VS component that needs to be treated differently by the VS installer. This entry here makes double-click install not work because the default VSIX installer (not the VS installer) doesn’t know how to update core VS components.

Experimental="true" means that this VSIX is allowed to install and override existing VS components (the currently installed project system bits). This is orthogonal to your problem but I thought I would explain for completeness.

I will need to test it, but I believe removing this line will turn ProjectSystem.vsix into a normal vsix. https://github.com/dotnet/project-system/blob/1038ba9e8c0760a9fc7adf89fdc18e339f0c2abd/src/ProjectSystemSetup/ProjectSystemSetup.csproj#L15

0reactions
cilerlercommented, Jul 1, 2019

@clarkcant look into the file called extension.vsixmanifest in the VSIX file. VSIX file is a simple ZIP file that you can extract the content of it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing Microsoft.VisualStudio.Component.CoreEditor ...
The installer now recognizes Visual Studio 2019, begins installing but fails, missing Microsoft.VisualStudio.Component.CoreEditor .
Read more >
Visual Studio Team Explorer workload and component IDs
Use Visual Studio workload and component IDs to provide integrated testing tools for generalist testers.
Read more >
Installation extension manque Microsoft.VisualStudio. ...
Hello I would like to install an extension for themes (color themes for Visual Studio) and during the installation I get this error:...
Read more >
VSIX Installer Extension Manifest and Visual Studio Version ...
Ran into a problem with updating a Visual Studio extension today where the VSIX installer ... Visual Studio Version Install Option Missing.
Read more >
Microsoft.visualstudio.component.coreeditor not found Kazi, Uaijiri ...
I am looking for a freelancer to assist me with data processing. The ideal candidate should have experience in using Microsoft Excel for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found