We recently migrated our code for ArcObjects from ArcGIS 10.2.2 and .NET 3.5 to ArcGIS 10.6.1 and .NET 4.5.1.
To debug our program we heavily use the debugging-fgeatures from Visual Studio. E.g. we have code like this:
IGeometry geometry =
With .NET 3.5. it was possible to examine this object, see here
However since .NET 4 this is not anymore possible, see thie following image:
I also posted this question on StackOverflow and gis.stackexchange to no avail. All I got to know is that is has to do with the way .NET wraps the unmanaged COM-objects. All my references to ESRI-assemblies have the "Embed Interop Types"-property set to false, as suggested in the answer on StackOverflow.
So why is this and how can we see the COM-objects properties on .NET 4.x?