I add a assembly to runtime like this:
RuntimeHost.AssemblyManager.AddAssembly(typeof(Telerik.Windows.Controls.PagerDisplayModes).Assembly);
In S# I am able to call this:
x = PagerDisplayModes.First;
but not:
x = Telerik.Windows.Controls.PagerDisplayModes.First;
Shouldn't work with both?
I tried to take a look to the source code of S#.
It looks like the problem is how S# runtime is dealing with
namespaces.
in BaseAssemblyManager.HasNamespace(name) it is first trying to see if
it has a key to 'Telerik' in its Namespaces dictionary, but it doesn't
have it.
It has 'Telerik.Windows.Controls' but not 'Telerik'.
Any idea how to fix this?
Thanks!
On 24 Лис, 14:28, "Piter.Prot...@gmail.com" <piter.prot...@gmail.com>
wrote: