title: Missing Microsoft.VisualStudio.Component.CoreEditor when installing Visual Studio extension
body: <p>I am trying to get <a href="https://github.com/Genymobile/scrcpy" rel="noreferrer">scrcpy</a> to run in Visual Studio by using <a href="https://marketplace.visualstudio.com/items?itemName=pvdstel.scrcpy" rel="noreferrer">this extension</a> and determine if I can extend its features.</p>
  
  <p>Unable to install a VSIX extension for Visual Studio 2019</p>
  
  <p>Installation fails indicating:</p>
  
  <p><a href="https://i.stack.imgur.com/Kw27s.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Kw27s.png" alt="enter image description here"></a></p>
  
  <p>I updated the <code>&lt;InstallationTarget&gt;</code> and <code>&lt;Dependency&gt;</code> as per <a href="https://social.msdn.microsoft.com/Forums/en-US/885615c6-8e00-48dc-a4ba-5828121afe23/i-am-trying-to-upgrade-my-extension-to-vs-2019-and-the-vsix-installer-only-lists-2017-as-an-option?forum=vsx" rel="noreferrer">here</a>, </p>
  
  <blockquote>
    <p>You need to change InstallationTarget to [15.0,17.0) and Prerequisite
    to [15.8.27729.1,).</p>
  </blockquote>
  
  <p>I unzipped the .vsix file, updated the <code>extension.vsixmanifest</code> file to the following:</p>
  
  <pre><code>&lt;Installation&gt;
      &lt;InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,17.0)" /&gt;
    &lt;/Installation&gt;
    &lt;Dependencies&gt;
      &lt;Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,)" /&gt;
      &lt;Dependency Id="Microsoft.VisualStudio.MPF.15.0" DisplayName="Visual Studio MPF 15.0" Version="[15.0]" /&gt;
    &lt;/Dependencies&gt;
    &lt;Prerequisites&gt;
      &lt;Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.8.27729.1,)" DisplayName="Visual Studio core editor" /&gt;
    &lt;/Prerequisites&gt;
  </code></pre>
  
  <p>Zipped the directory, renamed to *.vsix, tried to install again.</p>
  
  <p>The installer now recognizes Visual Studio 2019, begins installing but fails, missing <code>Microsoft.VisualStudio.Component.CoreEditor</code>.</p>
  
  <pre><code>12/11/2019 5:25:00 PM - Beginning to install extension to Visual Studio Enterprise 2019 (2)...
  12/11/2019 5:25:02 PM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingReferencesException: This extension cannot be installed because the following references are missing:
  -Microsoft.VisualStudio.Component.CoreEditor (Microsoft.VisualStudio.Component.CoreEditor)
     at Microsoft.VisualStudio.ExtensionManager.EngineUtilities.EnsureNoMissingReferences(IEnumerable`1 missingRefs)
     at Microsoft.VisualStudio.ExtensionManager.PackageInstaller.PrepareEngineInstall(IDependencyGraph dGraph, IDependencyComparisonSeed seed, Component vsixComponent, Boolean isProductComponent, Int32&amp; totalInstallationSteps)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension&amp; newExtension)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)
  </code></pre>
  
  <p>Suggestions on next steps please?</p>