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 2017 fails to load like in #23 #40

Open
PatPeter opened this issue Feb 17, 2021 · 4 comments
Open

Visual Studio 2017 fails to load like in #23 #40

PatPeter opened this issue Feb 17, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@PatPeter
Copy link

Bug description:

Here's the error report from ActivityLog.xml:

  <entry>
    <record>1549</record>
    <time>2021/02/17 21:52:54.580</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [DiscordRPCVSPackage]Source: &apos;discord-rpc-vs&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Threading, Version=15.8.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.Threading, Version=15.8.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Threading, Version=15.8.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at discord_rpc_vs.DiscordRPCVSPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass17_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()&#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>{EA99CD90-97EA-40A5-BE3C-2F3377242800}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>

Reproduction steps:

Steps to reproduce the behavior:

  1. Install from here https://marketplace.visualstudio.com/items?itemName=1TheNikita.drpcvs2019
  2. Load Visual Studio 2017.
  3. Enable Discord Rich Presence.

Expected behavior:

No error on startup.

Screenshots:

![https://i.imgur.com/jOGJzVB.png](Visual Studio Error)

Desktop (please complete the following information):

  • OS: Windows 10
  • Visual Studio 2017
  • Extension Version: 5.3

Additional context

None.

@PatPeter PatPeter added the bug Something isn't working label Feb 17, 2021
@1thenikita
Copy link
Owner

Hi! Thanks for writing about the bug.

Try committing these items:

  1. Reinstall the extension
  2. Reinstall Discord
  3. Reset VIsual Studio

@osyu
Copy link

osyu commented Mar 1, 2021

Same issue here as of version 5.5 (not sure if this is the exact version this started happening though); reinstalling the extension, Discord, and reinstalling VS entirely didn't help.

@1thenikita
Copy link
Owner

Try downloading the version that downloads via file here.
Have you uninstalled all versions of the plugin before updating? Because of the transfer of the plugin to me, there may be conflicts with the old version.

Same issue here as of version 5.5 (not sure if this is the exact version this started happening though); reinstalling the extension, Discord, and reinstalling VS entirely didn't help.

@ItsJunction
Copy link

I too had this issue.

Reinstalling fixed it.

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

4 participants