|
POST
|
I believe you might be hitting this issue: https://github.com/xamarin/Xamarin.Forms/issues/13016
... View more
05-06-2021
09:38 AM
|
0
|
1
|
5348
|
|
POST
|
Thank you that's helpful. This means we know we're likely dealing with an issue detecting that software rendering is required on Citrix Workspace. I got a couple more things to try. Without the workaround above to force software rendering, when you load the mapview, in the output you should see a message a long the lines of "[AppName] Information: 0 : Software rendering forced by ..." Do you see this in both the NETFX and NET3/5 cases? (you should definitely see it with the workaround to force software rendering). If so, what does the full message read? I'd be curious if NETFX for some reason detects it, but .NET 3/5 fails to do so. Second, I forgot to mention the above code for getting values should be run in the Window's Loaded event. If you do that, the HwndSource returned shouldn't be null. Would you mind reposting the values returned after the window has loaded?
... View more
05-05-2021
12:10 PM
|
0
|
2
|
3625
|
|
POST
|
If would also be helpful if you can run this on the specific citrix instance in both NETFX and NET5 (put it in the main xaml page) and share the 4 debug messages it generates. I'd be curious if they are different. var disable = Microsoft.Win32.Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics", "DisableHWAcceleration", 0);
System.Diagnostics.Debug.WriteLine("Registry DisableHWAcceleration = " + disable);
System.Diagnostics.Debug.WriteLine("ProcessRenderMode = " + System.Windows.Media.RenderOptions.ProcessRenderMode);
var hwndSource = PresentationSource.FromVisual(this) as System.Windows.Interop.HwndSource;
System.Diagnostics.Debug.WriteLine("HWND Render Mode = " + hwndSource?.CompositionTarget.RenderMode);
System.Diagnostics.Debug.WriteLine("RenderCapability.Tier = " + (System.Windows.Media.RenderCapability.Tier >> 16));
... View more
05-04-2021
05:13 PM
|
0
|
0
|
3640
|
|
POST
|
I'm wondering if there's an issue in .NET Core with correctly detecting software rendering mode. Could you try add add the following line of code right when the application starts up (as in the App.xaml.cs constructor): System.Windows.Media.RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly; That would help confirm is that's the issue we're dealing with, and we can do a few more things to check to understand where it goes wrong (and if it works it should at least give you a workaround for now)
... View more
05-04-2021
05:01 PM
|
1
|
4
|
3640
|
|
POST
|
Since this is related to Microsoft's WinRT APIs, you might have more luck with asking in the Microsoft forums, but it might all depend on which device you use to get locations from (and its driver), whether you have a clear view of the sky etc.
... View more
04-09-2021
12:12 PM
|
0
|
0
|
2200
|
|
POST
|
Correct. What do you see in that collection using Update 10 ?
... View more
04-05-2021
09:27 AM
|
0
|
0
|
3888
|
|
POST
|
Just to follow up on this. We'll have a fix for this in Update 11. The above proposed workaround with a renderer is a good way to do it for now - the only downside might be that if you create A LOT of MapView instances, it might leak a bit of memory, but if you're not you should be fine.
... View more
04-05-2021
09:26 AM
|
2
|
0
|
5055
|
|
POST
|
When you say "when I do a debug" do you just mean F5-debugging, or also adding a bunch of break points etc? Do I understand correctly that the only difference between working and not working is whether the debugger is attached?
... View more
04-05-2021
09:22 AM
|
0
|
0
|
1127
|
|
POST
|
The ArcGIS-arm64.framework file is the iOS equivalent to runtimecore.dll and runtimecorenet.dll. I've recently seen issues with hot restart and framework files as well - it's my impression Xamarin.Forms recently broke this scenario and are following up with the Xamarin team.
... View more
04-05-2021
09:18 AM
|
0
|
3
|
5524
|
|
POST
|
Just to comment on this: > One more thing: the preferred approach for referencing the Runtime API is via the nuget package The _only_ way for it to work is by using nuget references. Referencing just the assembly won't work, since it would cause a bunch of required files to not be deployed which the NuGet package will do for you. Your app will probably compile, but it'll crash when you run. You should reference the Esri.ArcGISRuntime.WPF package if you're building a WPF app (it'll in turn pull in Esri.ArcGISRuntime dependency package as well). If you only reference Esri.ArcGISRuntime you won't get the WPF extension that contains the MapView control.
... View more
04-05-2021
09:13 AM
|
0
|
1
|
3001
|
|
POST
|
Are you still using packages.config config to reference nuget packages? If so, I would highly recommend right-clicking that file and select to migrate to package references. It takes care of most of these build and deploy issues - especially when upgrading.
... View more
04-02-2021
10:37 AM
|
0
|
1
|
6855
|
|
POST
|
Yes you have to set this setting prior to creating the MapView control - it cannot be set on-the-fly. We would love to solve it, and a small reproducer would go a long way for us to address it.
... View more
03-15-2021
01:45 PM
|
0
|
0
|
4091
|
|
POST
|
I do believe I have a workaround for you: Try adding this in your application startup: AppContext.SetSwitch("Switch.Esri.ArcGISRuntime.DisableSecondaryUIThread", true); (But if you can share a reproducer, I'd still like to have it so we can get to the bottom of it)
... View more
03-10-2021
04:55 PM
|
1
|
3
|
4162
|
|
POST
|
> we had been using ArcGISMapImageLayer to load feature layers This statement confuses me. Are you loading an image layer or a feature layer? Could you share a bit more of code, and the actual URL you use to help clarify? (you can obfuscate the domain if necessary)
... View more
03-10-2021
11:03 AM
|
0
|
0
|
3870
|
|
POST
|
When you hit the breakpoint, could you go to Debug -> Save Dump As... and share the dump that's being generated? Also if you have a small app that reproduces the problem, I'd love for you to share it.
... View more
03-10-2021
10:41 AM
|
0
|
0
|
4228
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|