Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension fails to load #46

Open
Lufou opened this issue Mar 6, 2021 · 5 comments
Open

Extension fails to load #46

Lufou opened this issue Mar 6, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@Lufou
Copy link

Lufou commented Mar 6, 2021

Bug description:

The extension fails to load on VS startup.

Here is the stacktrace from ActivityLog.xml:

  <entry>
    <record>717</record>
    <time>2021/03/06 12:46:21.918</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [DiscordRPforVSPackage]Source: &apos;mscorlib&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Shell.15.0, 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.&#x000D;&#x000A;Nom de fichier&#x00A0;: &apos;Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   &#x00E0; System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)&#x000D;&#x000A;   &#x00E0; System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)&#x000D;&#x000A;   &#x00E0; System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A;   &#x00E0; System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)&#x000D;&#x000A;&#x000D;&#x000A;AVT&#x00A0;: la journalisation de liaison d&apos;assembly est d&#x00E9;sactiv&#x00E9;e.&#x000D;&#x000A;Pour activer la journalisation des &#x00E9;checs de liaison d&apos;assembly, attribuez la valeur 1 &#x00E0; la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD).&#x000D;&#x000A;Remarque&#x00A0;: une certaine perte de performance est associ&#x00E9;e &#x00E0; l&apos;enregistrement dans le journal des &#x00E9;checs de liaison d&apos;assembly.&#x000D;&#x000A;Pour d&#x00E9;sactiver cette fonctionnalit&#x00E9;, supprimez la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
    <guid>{AB4ABBBF-2C58-4FB3-8D6F-651811A796AA}</guid>
    <hr>80004005 - E_FAIL</hr>
    <errorinfo></errorinfo>
  </entry>

Reproduction steps:

Steps to reproduce the behavior:

  1. Have the extension installed
  2. Launch Visual Studio 2017

Expected behavior:

The rich presence is showing on Discord and no error on startup.

Screenshots:

https://i.imgur.com/jOGJzVB.png

Desktop (please complete the following information):

  • OS: Windows 10 Professional Build 19042]
  • Visual Studio Professional 2017 Version 15.9.33
  • Extension Version 5.5

Additional context

None.

@Lufou Lufou added the bug Something isn't working label Mar 6, 2021
@osyu
Copy link

osyu commented Mar 8, 2021

After checking ActivityLog.xml it turns out I actually have the error in this issue, rather than the one in issue #23 (whoops).

I tried uninstalling the previous version and then installing the VSIX from the GitHub release, but it still results in the same crash.

@NotKyoyo
Copy link

I've got the same issue as well

@ghost
Copy link

ghost commented Jul 30, 2021

me too

1 similar comment
@VDoring
Copy link

VDoring commented Jul 31, 2021

me too

@PoweredByAndrox
Copy link

the same...
this is broken is about 4 months ago for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants