I recently got the following error when trying to build a solution after installing a nuget package:
Warning CS8032 An instance of analyzer ProxyInterfaceSourceGenerator.ProxyInterfaceCodeGenerator cannot be created from C:\Users\peter.nuget\packages\proxyinterfacegenerator\0.0.22\analyzers\dotnet\cs\ProxyInterfaceSourceGenerator.dll: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. TestProject1 1 Active
It is likely not the package you installed that has an issue. I updated the version of Visual Studio and this resolved the issue. I went to the Visual Studio Installer application and upgraded from 17.0.4 to the newest version. From github it looks like this issue is resolved after Visual Studio version 17.0.10.
I hope this helps someone out there, if so please leave a comment down below!