I am trying to load compiled XSL (using XSLTC.exe) in my .net core 2.0 solution but getting below error.
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Data.SqlXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.'
Assembly asm = Assembly.LoadFrom(@"...");
Type t = asm.GetType("...");
myXslTransform.Load(t);
The documentation says that, it should load file generated from XSLTC.exe but not working.
Is there anything I am missing, please help.