[IronPython] Cannot find ScriptDomainManager in IronPython 2b1 Microsoft.Scripting

Dino Viehland dinov at exchange.microsoft.com
Fri Mar 21 02:43:59 CET 2008

It's in Microsoft.Scripting.Runtime now.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Peter Schott
Sent: Thursday, March 20, 2008 2:11 PM
To: users at lists.ironpython.com
Subject: [IronPython] Cannot find ScriptDomainManager in IronPython 2b1 Microsoft.Scripting

Finally getting to play around a little with the latest beta and
working through the Tutorials.  When I try to issue:

from Microsoft.Scripting import ScriptDomainManager

I get an error because it's not there.  Here's a dir(Microsoft.Scripting):
>>> dir(Microsoft.Scripting)
['ActionOnCallAttribute', 'Actions', 'AmbiguousFileNameException', 'ArgumentType
Exception', 'Ast', 'CompilerContext', 'CompilerOptions', 'EngineOptions', 'Error
Counter', 'ErrorSink', 'FunctionType', 'Generation', 'Hosting', 'IAttributesColl
ection', 'IValueEquality', 'Math', 'None', 'ParamDictionaryAttribute', 'ParserSi
nk', 'PerfTrack', 'PlatformAdaptationLayer', 'Runtime', 'ScriptCode', 'Severity'
, 'Shell', 'SourceCodeKind', 'SourceCodeProperties', 'SourceCodePropertiesUtils'
, 'SourceLocation', 'SourceSpan', 'SourceStringContentProvider', 'SourceUnit', '
SourceUnitReader', 'StreamContentProvider', 'SymbolId', 'SymbolTable', 'SyntaxEr
rorException', 'TextContentProvider', 'Tuple', 'Utils']

Am I calling the wrong library?  Am I missing something really basic?
My sys.path is only pointing to the latest beta, the Lib folder, and
my Python 2.5 lib folder.
Users mailing list
Users at lists.ironpython.com

More information about the Ironpython-users mailing list