I have an analyzer (targeting netstandard2.0
) relying on Microsoft.CodeAnalysis
v 4.12.0, which in turn has reference to System.Memory
v 4.6.0. And I have no direct reference to any other version of System.Memory
. Still, the library is built with reference to v 4.0.2.0
Does not make any difference if I add package reference directly to the project.
The generated nuspec
file also references only 4.6.0:
deps.json
has also no other version in it:
But because of this, the analyzer throws FileNotFoundException
on load.
What can I do?