[IronPython] help on Vista x64

Michael Foord fuzzyman at voidspace.org.uk
Thu Oct 30 14:48:57 CET 2008


Curt Clockwatcher wrote:
> The code is in IronPython\Runtime\Types\DocBuilder.cs.  The specific 
> code which translates to an XML file is in "XPathDocument 
> GetXPathDocument(Assembly asm)".
>
> In theory, we could say "if the file is not found and the pathname 
> contains 'Framework64', then substitute 'Framework' for 'Framework64' 
> and try again."
>
> However, this makes a lot of assumptions about things that are not 
> actually guaranteed by the framework -- and in particular, are not 
> likely to be the same under Mono. 

Well, an *extra* lookup in the wrong place in Mono doesn't seem like it 
would do any harm - and the current behaviour is basically broken for 
x64 Vista users. Less broken sounds better to me. ;-)

Michael

>
> On Sun, Oct 26, 2008 at 1:40 PM, Michael Foord 
> <fuzzyman at voidspace.org.uk <mailto:fuzzyman at voidspace.org.uk>> wrote:
>
>     Curt Hagenlocher wrote:
>
>         The XML documentation files under the
>         %windir%\Microsoft.NET\Framework directory are not duplicated
>         under %windir%\Microsoft.NET\Framework64 -- that's why we're
>         not finding them.  As a workaround, you could probably just
>         copy the files from the one location to the other -- or even
>         create hard links or symbolic links under Vista using "mklink".
>
>
>     Where is the code that looks for these XML files? Could it be made
>     to look in the correct place?
>
>     I'm not looking for a short term workaround but thinking of
>     IronPython users on 64 bit systems (plus I'm not sure if it is too
>     late to document the workaround in my book... :-)
>
>     Michael
>
>
>         On Sun, Oct 26, 2008 at 12:49 PM, Michael Foord
>         <fuzzyman at voidspace.org.uk <mailto:fuzzyman at voidspace.org.uk>
>         <mailto:fuzzyman at voidspace.org.uk
>         <mailto:fuzzyman at voidspace.org.uk>>> wrote:
>
>            Hello guys,
>
>            Using help on methods of .NET types on 32 bit Vista prints
>         useful
>            information. e.g. for help(Stack.Push)
>
>                        help(Stack.Push)
>
>            Help on method-descriptor Push
>            |  Push(...)
>            |      Push(self, object obj)
>            |
>            |        Inserts an object at the top of the
>            |         System.Collections.Stack.
>            |
>            |        obj: The System.Object to push onto the
>            |         System.Collections.Stack. The value can be null.
>
>
>            On Vista x64 it prints:
>
>                        help(Stack.Push)
>
>            Help on method_descriptor:
>
>            Push(...)
>              Push(self, object obj)
>
>            Michael Foord
>
>            --    http://www.ironpythoninaction.com/
>            http://www.voidspace.org.uk/blog
>
>            _______________________________________________
>            Users mailing list
>            Users at lists.ironpython.com
>         <mailto:Users at lists.ironpython.com>
>         <mailto:Users at lists.ironpython.com
>         <mailto:Users at lists.ironpython.com>>
>
>            http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>         ------------------------------------------------------------------------
>
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
>         http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>          
>
>
>
>     -- 
>     http://www.ironpythoninaction.com/
>     http://www.voidspace.org.uk/blog
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
>     http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>   


-- 
http://www.ironpythoninaction.com/




More information about the Ironpython-users mailing list