Не удается открыть Package.appxmanifest в Visual Studio 2019 - PullRequest
0 голосов
/ 19 июня 2019

У меня проблема при открытии только что созданного Package.appxmanifest с помощью Microsoft Visual Studio 2019 сообщества (с новым проектом Windows Application Packaging Project для Windows 10) в Windows 7. У меня есть сообщение об ошибке ввсплывающее окно: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information..В левом нижнем углу есть сообщение: This item does not support previewing

Я прочитал много безуспешных вопросов, например:

И я пытаюсь:

  • Переустановить Visual Studio 2019 Community
  • Переустановить расширение.
  • Do devenv /updateconfiguration и devenv /clearcache
  • Открыть Package.appxmanifest с View Code (F7) или View Designer (Shift+F7).Ничего не происходит.
  • Нажмите Edit your package in a designer в обзоре проекта.После долгой загрузки ничего не происходит.
  • Используйте это расширение: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ClearMEFComponentCache

.. без успеха либо ...

После активации журналов (devenv /Log mylog), Я нашел эти ошибки:

  <entry>
    <record>380</record>
    <time>2019/06/19 08:40:03.958</time>
    <type>Error</type>
    <source>Extension Manager</source>
    <description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK\...</description>
    <path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK\</path>
  </entry>
  <entry>
    <record>392</record>
    <time>2019/06/19 08:40:04.308</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Impossible de charger le fichier ou l&apos;assembly &apos;Microsoft.Lync.Model, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&apos; ou une de ses d&#x00E9;pendances. Le fichier sp&#x00E9;cifi&#x00E9; est introuvable.</description>
    <path>c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\microsoft\codesense\framework\Microsoft.VisualStudio.CodeSense.Client.Common.dll</path>
  </entry>
  <entry>
    <record>393</record>
    <time>2019/06/19 08:40:04.314</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Impossible de charger le fichier ou l&apos;assembly &apos;Microsoft.WebTools.Languages.Json, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; ou une de ses d&#x00E9;pendances. Le fichier sp&#x00E9;cifi&#x00E9; est introuvable.</description>
    <path>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\common7\ide\Microsoft.VisualStudio.VC.dll</path>
  </entry>
  <entry>
    <record>394</record>
    <time>2019/06/19 08:40:04.314</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Impossible de charger le fichier ou l&apos;assembly &apos;Microsoft.WebTools.Languages.Json, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; ou une de ses d&#x00E9;pendances. Le fichier sp&#x00E9;cifi&#x00E9; est introuvable.</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\OPENFOLDER\Microsoft.VisualStudio.Workspace.VSIntegration.dll</path>
  </entry>
  <entry>
    <record>395</record>
    <time>2019/06/19 08:40:04.319</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Impossible de charger le fichier ou l&apos;assembly &apos;Microsoft.CodeAnalysis.TypeScript.EditorFeatures, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; ou une de ses d&#x00E9;pendances. Le fichier sp&#x00E9;cifi&#x00E9; est introuvable.</description>
    <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\EXTENSIONS\MICROSOFT\INTELLICODE\Microsoft.VisualStudio.IntelliCode.TypeScript.dll</path>
  </entry>
  <entry>
    <record>396</record>
    <time>2019/06/19 08:40:04.324</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
    <description>Still unable to load MEF component DLL: Impossible de charger le fichier ou l&apos;assembly &apos;Microsoft.VisualStudio.LiveShare, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; ou une de ses d&#x00E9;pendances. Le fichier sp&#x00E9;cifi&#x00E9; est introuvable.</description>
    <path>c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\commonextensions\microsoft\vc\languageserver\Microsoft.VisualStudio.VC.LanguageServer.dll</path>
  </entry>

Есть идеи?

...