Mono: Please add ISymWrapper, System.IO and System.Runtime to GAC, if you can

Created on 9 May 2018  路  3Comments  路  Source: mono/mono

Steps to Reproduce

No dll in GAC

$ gacutil -l | grep 'System.Runtime$'

$ gacutil -l | grep 'ISymWrapper$'

$ gacutil -l | grep 'System.IO$'

Current Behavior

$ gacutil -l | grep 'System.Runtime$'

$ gacutil -l | grep 'ISymWrapper$'

$ gacutil -l | grep 'System.IO$'

Expected Behavior

$ gacutil -l | grep 'System.Runtime$'
System.IO      , Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

$ gacutil -l | grep 'ISymWrapper$'
ISymWrapper    , Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

$ gacutil -l | grep 'System.IO$'
System.Runtime , Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

On which platforms did you notice this

$ sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.13.4
BuildVersion:   17E202

Version Used:

$ mono --version
Mono JIT compiler version 5.4.1.6 (tarball Mon Dec 11 14:59:42 GMT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           normal
    SIGSEGV:       altstack
    Notification:  kqueue
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen (concurrent by default)

See also

https://github.com/fsharp/FSharp.Compiler.Service/issues/865#issuecomment-387590705

// A Fsharp.compiler.servise user's voice
Is there a reason ISymWrapper is not part of mono install? 
it might be an issue with mono itself.
question

All 3 comments

System.Runtime.dll and System.IO.dll are facades, we don't put them in the GAC explicitly. I'd suggest talking to FCS about supporting loading facades.

For ISymWrapper.dll we don't have the assembly at the moment, though we could add stubs for it. .NET Core doesn't ship it either though so it'll probably not be a priority.

Hello! Oh, I see. I'll talk about it to FCS. Thank you very much. 馃槃

We try not to add more assemblies to GAC as the .net paradigm shifted to different deployment model over the years.

Was this page helpful?
0 / 5 - 0 ratings