Closed JoshuaMaitland closed 2 years ago
Can you attach this file here?
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: 'VisualStudioDiscordRPC.Dev17' Description: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=17.2.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.Threading, Version=17.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.Threading, Version=17.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
 at VisualStudioDiscordRPC.Shared.VisualStudioDiscordRPCPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)
 at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass20_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
 at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)

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>{5CD3D640-3D33-45EA-8C5B-6DE981FF9900}</guid>
<hr>80070002</hr>
<errorinfo></errorinfo>
</entry>
Can you attach this file here?
I have the same issue. Here is the file. ActivityLog.zip
This is the error that I see. Seems like it cannot find Microsoft.VisualStudio.Threading dll
Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
Still the same error.
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.
Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
Tried that and it doesn't work. Still the same issue. But I attached the ActivityLog anyway. ActivityLog.zip
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?
Maybe something with an automated build in GitHub Actions. I built .vsix manually. Can you try installing this one?
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.
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!!
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.
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.
I've been updating Extension Build Tools and updating Newtonsoft's JSON. I'll try to make a downgrad. VisualStudioDiscordRPC.Dev17_downgraded.zip
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.
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.
Hello, guys! Recently, such error messages have started to appear frequently again. Do you have such a problem?
The problem is in different versions of Visual Studio and packages in the extension. Solution: to install a newer version of Visual Studio.
After I installed that extension on Visual Studio 2022, I get this message popped up every time telling me that it did not load correctly. And I'm not so sure how I would fix it!! (Username has been removed). The version that I'm using is v1.3.3