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

Visual Studio 2019 fails to load #88

Open
rm-NoobInCoding opened this issue Jan 31, 2022 · 0 comments
Open

Visual Studio 2019 fails to load #88

rm-NoobInCoding opened this issue Jan 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@rm-NoobInCoding
Copy link

rm-NoobInCoding commented Jan 31, 2022

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: &apos;mscorlib&apos; Description: Exception has been thrown by the target of an invocation.&#x000D;&#x000A;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.IO.FileNotFoundException: Could not load file or assembly &apos;Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;   at DiscordRPC.DiscordRpcClient..ctor(String applicationID, Int32 pipe, ILogger logger, Boolean autoEvents, INamedPipeClient client)&#x000D;&#x000A;   at DiscordRPforVS.DiscordRPforVSPackage..ctor()&#x000D;&#x000A;   --- End of inner exception stack trace ---&#x000D;&#x000A;   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandleInternal&amp; ctor, Boolean&amp; bNeedSecurityCheck)&#x000D;&#x000A;   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#x000D;&#x000A;   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#x000D;&#x000A;   at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#x000D;&#x000A;   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp; stackMark)&#x000D;&#x000A;   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#x000D;&#x000A;   at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A;   at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)System.IO.FileNotFoundException: Could not load file or assembly &apos;Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed&apos;&#x000D;&#x000A;   at DiscordRPC.DiscordRpcClient..ctor(String applicationID, Int32 pipe, ILogger logger, Boolean autoEvents, INamedPipeClient client)&#x000D;&#x000A;   at DiscordRPforVS.DiscordRPforVSPackage..ctor()&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
<guid>{AB4ABBBF-2C58-4FB3-8D6F-651811A796AA}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>

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

@rm-NoobInCoding rm-NoobInCoding added the bug Something isn't working label Jan 31, 2022
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

1 participant