Problem with calling constructor System.Xml.XmlSerializer.XmlSerializer
gitchomik opened this issue · comments
Hi,
I have got strange problem with System.Xml.XmlSerializer.XmlSerializer
It seem that app hang on calling constructor new XmlSerializer(typeof(A))
Steps:
- I have create Visual Studio. NET -> New project ->Visual C# -> "Tizen Samsung TV 5.0" ->Blank App (Xamarin.Form)
- I add
public class A { }
- in
Main(string[] args)
I just add line (at the begining)
var xmlSerializer = new XmlSerializer(typeof(A));
- same problem when using
var factory = new XmlSerializerFactory();
but this time, app hangs on lilne below
factory.CreateSerializer(typeof(A));
- Then
- build app (debug mode)
- debug on ma TV using VS.NET
- apps starts on TV
- debuger attached on VS.NET
- in debuger step in to
new XmlSerializer(...)
- debbuger hungs on this line
- app hungs on TV
- same probelm without debbuger (build Release, install using sdb, then just run on TV)
Testing enviroment:
- Visual Studio. NET 2017 15.9.29
- Tizen.NET (5.0.0.14562)
- Tizen.NET.TV (5.5.0.4922)
- Project Sdk="Tizen.NET.Sdk/1.0.9
- TargetFramework=tizen50
- tested on TV U58RU7172UXXH
Regards!
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days