2

Getting this error comes up every time I try to pull (and push) items from Sitecore, using Sitecore for Visual Studio.

Matched module configurations: SC.Feature.Disclaimers
Sync operation with Sitecore failed
Could not load type 'Microsoft.Extensions.Logging.Abstractions.Internal.NullScope' from assembly 'Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.(TypeLoadException)
       at SVS.VSIX.Logging.OutputWindowLogger.BeginScope[TState](TState state)
       at Sitecore.DevEx.Serialization.Client.Datasources.Sc.Query.SitecoreTreeDataStore.<GetTreeNodesInternal>d__19.MoveNext()

I've been successful using the Sitecore CLI tools, but it doesn't appear to be working in Visual Studio at all.

  • Visual Studio 2022 (64-bit) - v17.3.6

  • Sitecore for Visual Studio - v4.1.0.0

  • Sitecore CLI - v4.2.1-r00505

  • Sitecore - v10.2

6
  • Can you check the compatibility? Try this sitecore.stackexchange.com/questions/33146/… Oct 24, 2022 at 11:11
  • What version of Sitecore are you using?
    – Richard Seal
    Oct 24, 2022 at 18:00
  • @SumitBhatia Looks to be compatible, have added the CLI version I'm using to the post
    – spyn
    Oct 24, 2022 at 23:57
  • @RichardSeal 10.2 in containers, also have tried with a local 10.2
    – spyn
    Oct 24, 2022 at 23:57
  • @spyn do you know if this works in VS2022 v17.2.x? Have seen some threads in slack discussing this as a possible issue with VS v17.3.x and Sitecore for Visual Studio Oct 25, 2022 at 1:11

1 Answer 1

0

I fixed this issue by upgrading Sitecore for Visual Studio to version 5.1.25.18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.