niklaskallander / vs-unobtrusive-code

An extension for Visual Studio that lets you hide away obtrusive code like comments and logging, to let you focus on the actual flow of your application.
MIT License
24 stars 1 forks source link

The 'UnobtrusiveCodePackage' package did not load correctly #17

Closed SinonTheCat closed 7 months ago

SinonTheCat commented 8 months ago

SetSite failed for package [UnobtrusiveCodePackage] Source: 'UnobtrusiveCode' Description: Die Datei oder Assembly "Microsoft.VisualStudio.Threading, Version=17.8.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. System.IO.FileNotFoundException: Die Datei oder Assembly "Microsoft.VisualStudio.Threading, Version=17.8.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. File name: 'Microsoft.VisualStudio.Threading, Version=17.8.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at UnobtrusiveCode.UnobtrusiveCodePackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)3

Microsoft Visual Studio Professional 2022 Version 17.7.5 VisualStudio.17.Release/17.7.5+34202.233 Microsoft .NET Framework Version 4.8.09032

niklaskallander commented 7 months ago

@SinonTheCat what version of VS are you using? Just wondering if you may have to update it. Are there updates available?

SinonTheCat commented 7 months ago

Hi. It's all in the issue. VS 2022, extension freshly installed. I'm opening a solution that also contains C++ code, but that should not bother the extension. Is it only compatible with the latest and greatest .NET framework installed? I'll look, if an update for Vs is available.

Harald Rafetseder


From: Niklas Källander @.> Sent: Monday, February 5, 2024 4:54:13 PM To: niklaskallander/vs-unobtrusive-code @.> Cc: SinonTheCat @.>; Mention @.> Subject: Re: [niklaskallander/vs-unobtrusive-code] The 'UnobtrusiveCodePackage' package did not load correctly (Issue #17)

@SinonTheCathttps://github.com/SinonTheCat what version of VS are you using? Just wondering if you may have to update it. Are there updates available?

— Reply to this email directly, view it on GitHubhttps://github.com/niklaskallander/vs-unobtrusive-code/issues/17#issuecomment-1927312409, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZHVFGQGSJS3TSAOKK3YGM3YSD6CLAVCNFSM6AAAAABCZTID3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGMYTENBQHE. You are receiving this because you were mentioned.Message ID: @.***>

niklaskallander commented 7 months ago

@SinonTheCat Sorry, I just read a bunch of German/whatever and got blind. 😄

I hope an upgrade of VS sorts it out for you. I just recently updated the extension to use .NET Framework 4.8 (in order to support the use of Community.VisualStudio.Toolkit).

It works fine on both my computers (personal and at work).

Let me know how it goes, thanks! 😊

niklaskallander commented 7 months ago

Closing this.