Visual-Studio
Visual-Studio copied to clipboard
Extension fails to load
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: 'mscorlib' Description: Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ou une de ses dépendances. Le fichier spécifié est introuvable.
Nom de fichier : 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
 à System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
 à System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
 à System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
 à System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)

AVT : la journalisation de liaison d'assembly est désactivée.
Pour activer la journalisation des échecs de liaison d'assembly, attribuez la valeur 1 à la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD).
Remarque : une certaine perte de performance est associée à l'enregistrement dans le journal des échecs de liaison d'assembly.
Pour désactiver cette fonctionnalité, supprimez la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
<guid>{AB4ABBBF-2C58-4FB3-8D6F-651811A796AA}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
Reproduction steps:
Steps to reproduce the behavior:
- Have the extension installed
- 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.
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.
I've got the same issue as well
me too
me too
the same... this is broken is about 4 months ago for me.