Elastic.Apm and NETFramework 4.8

Hello there,

I have been trying to search for a solution to this issue and cannot seem to find any assistance online.

When using Elastic.Apm 1.7.1 with netframework 4.8, during our build I am unable to successfully install the package due to the following error:

sample.metaproj : warning MSB3268: The primary reference "packages\Elastic.Apm.1.7.1\lib\net461\Elastic.Apm.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.ValueTuple, Version=, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.8". To resolve this problem, either remove the reference "packages\Elastic.Apm.1.7.1\lib\net461\Elastic.Apm.dll" or retarget your application to a framework version which contains "System.ValueTuple, Version=, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51".

Any guidance would be greatly appreciated. We have been circumnavigating this issue by manually including the System.ValueTuple package but that doesn't seem to correct.

Is it possible to use Elastic.Apm with framework version 4.8 as valuetuple seems to have been added in versions after 4.7.


This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.