Giter Club home page Giter Club logo

Comments (18)

Reavert avatar Reavert commented on May 23, 2024

Can you attach this file here?

from visualstudiodiscordrpc.

timing1337 avatar timing1337 commented on May 23, 2024

Also got the issue here, I'm not sure if he has the same problem as me, but for my case:

<entry>
    <record>365</record>
    <time>2022/07/07 04:57:48.208</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [VisualStudioDiscordRPCPackage]Source: &apos;VisualStudioDiscordRPC.Dev17&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Threading, Version=17.2.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=17.2.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=17.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at VisualStudioDiscordRPC.Shared.VisualStudioDiscordRPCPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass20_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 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Threading.JoinableTask.&lt;JoinAsync&gt;d__76.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#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>{5CD3D640-3D33-45EA-8C5B-6DE981FF9900}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

Can you attach this file here?

I have the same issue.
Here is the file.
ActivityLog.zip

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

This is the error that I see. Seems like it cannot find Microsoft.VisualStudio.Threading dll
image

from visualstudiodiscordrpc.

Reavert avatar Reavert commented on May 23, 2024

Maybe something with an automated build in GitHub Actions.
I built .vsix manually. Can you try installing this one?

VisualStudioDiscordRPC.Dev17.zip

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?

VisualStudioDiscordRPC.Dev17.zip

Still the same error.
image

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

I downloaded the older version Discord RPC for Visual Studio v1.3.1 which is working btw. Seems to be something in the new version.

from visualstudiodiscordrpc.

JoshuaMaitland avatar JoshuaMaitland commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?

VisualStudioDiscordRPC.Dev17.zip

Tried that and it doesn't work. Still the same issue. But I attached the ActivityLog anyway.
ActivityLog.zip

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
VisualStudioDiscordRPC.Dev17.zip

Tried that and it doesn't work. Still the same issue. But I attached the ActivityLog anyway. ActivityLog.zip

Can you try the older version which is Discord RPC for Visual Studio v1.3.1 and see if it works for you?

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?

VisualStudioDiscordRPC.Dev17.zip

I've checked the commits and saw that there are libraries added to the project. Maybe they are depending on that version or something?

I did modify the csproj file and gave the version and the path for that dll but still the same error. I am suspecting that another dll/library is trying to get that version.

from visualstudiodiscordrpc.

JoshuaMaitland avatar JoshuaMaitland commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
VisualStudioDiscordRPC.Dev17.zip

Tried that and it doesn't work. Still the same issue. But I attached the ActivityLog anyway. ActivityLog.zip

Can you try the older version which is Discord RPC for Visual Studio v1.3.1 and see if it works for you?

I actually using v1.3.2 and it does works and doesn't show a warning message at all at startup!!

from visualstudiodiscordrpc.

sametguzeldev avatar sametguzeldev commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
VisualStudioDiscordRPC.Dev17.zip

Tried that and it doesn't work. Still the same issue. But I attached the ActivityLog anyway. ActivityLog.zip

Can you try the older version which is Discord RPC for Visual Studio v1.3.1 and see if it works for you?

I actually using v1.3.2 and it does works and doesn't show a warning message at all at startup!!

If you click "No" to this pop-up, you will not see the warning message anymore. You need to reinstall to see that warning message again.
image

from visualstudiodiscordrpc.

JoshuaMaitland avatar JoshuaMaitland commented on May 23, 2024

Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
VisualStudioDiscordRPC.Dev17.zip

Tried that and it doesn't work. Still the same issue. But I attached the ActivityLog anyway. ActivityLog.zip

Can you try the older version which is Discord RPC for Visual Studio v1.3.1 and see if it works for you?

I actually using v1.3.2 and it does works and doesn't show a warning message at all at startup!!

If you click "No" to this pop-up, you will not see the warning message anymore. You need to reinstall to see that warning message again.

That warning message didn't show up on v1.3.2 and when I checked on my Discord activity, it does indeed works.
Also I disabled the checkbox and restarted Visual Studio 2022 and the warning message is no longer showing up.
devenv_2022-07-07_11-59-37

from visualstudiodiscordrpc.

Reavert avatar Reavert commented on May 23, 2024

I've been updating Extension Build Tools and updating Newtonsoft's JSON. I'll try to make a downgrad.
VisualStudioDiscordRPC.Dev17_downgraded.zip

from visualstudiodiscordrpc.

JoshuaMaitland avatar JoshuaMaitland commented on May 23, 2024

I've been updating Extension Build Tools and updating Newtonsoft's JSON. I'll try to make a downgrad. VisualStudioDiscordRPC.Dev17_downgraded.zip

I think that worked successfully. No warning message at startup. Checked my discord activity and it is showing that I'm playing Visual Studio. So as least that I can say is. IT WORKS!!! Thanks for fixing this.

from visualstudiodiscordrpc.

Reavert avatar Reavert commented on May 23, 2024

It's strange that updating the build tools broke this. I think it's also related to the Visual Studio version. The build tools were with version 17.2,
I have reduced it to 17.0.

from visualstudiodiscordrpc.

Reavert avatar Reavert commented on May 23, 2024

Hello, guys!
Recently, such error messages have started to appear frequently again.
Do you have such a problem?

from visualstudiodiscordrpc.

Reavert avatar Reavert commented on May 23, 2024

The problem is in different versions of Visual Studio and packages in the extension.
Solution: to install a newer version of Visual Studio.

from visualstudiodiscordrpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.