RuntimeHost and namespaces

36 views
Skip to first unread message

Andrei

unread,
Nov 24, 2011, 2:41:06 AM11/24/11
to SSharp
Hi,

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!

piter....@gmail.com

unread,
Nov 24, 2011, 8:28:06 AM11/24/11
to SSharp
Hi,
 I will investigate the problem.
Regards, Petro

piter....@gmail.com

unread,
Dec 11, 2011, 4:40:47 AM12/11/11
to SSharp
Reply all
Reply to author
Forward
0 new messages