26 Feb 2024 04:41 PM - last edited on 01 Mar 2024 07:15 AM by MaciejNeumann
I have migrated my Xamarin.iOS project to .Net6 Xamarin.iOS
I'm trying to integrate Dynatrace in to my Xamarin.iOS .Net6 application.
According to the document for Xamarin, I installed Dynatrace.OneAgent.Xamarin package, add the config file into my project, and input the code into AppDelegate.cs file in "FinishedLaunching()"
Then I rebuild my project, and I got following error:
The name 'Agent' does not exist in the current context
Which nuget version of Dynatrace is supporting .Net6 Xamarin.iOS applications ?
Solved! Go to Solution.
29 Feb 2024 10:40 AM - edited 29 Feb 2024 11:16 AM
So you are using Xamarin with NET6.0? Just to clarify for us, so we can have a detailed look/understanding. Could you please try to use version 1.279.1 of MAUI package. It contains NET6.0 and we believe this might solve your case. I am specifying 279 now as 283 is missing NET6 because of supportability reasons (If your use case turns out to be true, we will readd this for 285).