You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description:
Here's the error report from ActivityLog.xml:
<record>408</record>
<time>2022/01/31 14:02:03.198</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [DiscordRPforVSPackage]Source: 'mscorlib' Description: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
 at DiscordRPC.DiscordRpcClient..ctor(String applicationID, Int32 pipe, ILogger logger, Boolean autoEvents, INamedPipeClient client)
 at DiscordRPforVS.DiscordRPforVSPackage..ctor()
 --- End of inner exception stack trace ---
 at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
 at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)
 at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
 at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
 at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
 at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
File name: 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
 at DiscordRPC.DiscordRpcClient..ctor(String applicationID, Int32 pipe, ILogger logger, Boolean autoEvents, INamedPipeClient client)
 at DiscordRPforVS.DiscordRPforVSPackage..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
<guid>{AB4ABBBF-2C58-4FB3-8D6F-651811A796AA}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
Bug description:
Here's the error report from
ActivityLog.xml
:Reproduction steps:
Steps to reproduce the behavior:
Install from here https://github.com/1thenikita/Visual-Studio/releases/tag/5.5.4
Load Visual Studio 2019.
Enable Discord Rich Presence.
Expected behavior:
No error on startup.
Screenshots:
The Error.
Desktop (please complete the following information):
OS: Windows 11
Visual Studio 2019
Extension Version: 5.5.4
Additional context
None
The text was updated successfully, but these errors were encountered: