<div dir="ltr">Fat Libraries would play havoc with library signatures/versioning. What Mono has is mkbundle, where all managed libraries (but not the native dependencies) are packaged in a single executable (huge) file.<div>
<br></div><div>See the Bundles section in </div><div><a href="http://www.mono-project.com/Guide:Running_Mono_Applications">http://www.mono-project.com/Guide:Running_Mono_Applications</a><br></div><div class="gmail_extra">
<br></div><div class="gmail_extra">Hope it helps,<br clear="all"><div>Rafael Teixeira<br>O..:.)oooo<br></div>
<br><br><div class="gmail_quote">On Mon, Nov 25, 2013 at 2:17 PM, Vassil Vassilev <span dir="ltr"><<a href="mailto:v.g.vassilev@gmail.com" target="_blank">v.g.vassilev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Is there any obvious advantage of
      ilmerge over adding all relevant files when building that library.
      I.e expanding the references. I can afford that because in our
      home-grown cmake csharp module keeps track of the dependencies.<span class="HOEnZb"><font color="#888888"><br>
      Vassil</font></span><div><div class="h5"><br>
      On 11/25/2013 04:58 PM, Greg Young wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Search for "ilmerge" it can do this after the
        compilation.</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Nov 25, 2013 at 5:27 PM, Vassil
          Vassilev <span dir="ltr"><<a href="mailto:v.g.vassilev@gmail.com" target="_blank">v.g.vassilev@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hi,<br>
                  Thanks for the answer. This seemed not to be the case
                with the M$ compiler. I will double check today.<br>
                  Is there any way to build 'fat libraries' (standalone)
                i.e to tell the compiler to put everything that the
                library needs (of course not mscorlib) in the library
                itself?<br>
                Cheers,<br>
                Vassil
                <div>
                  <div><br>
                    On 11/25/2013 12:19 PM, Rafael Teixeira wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div>
                  <blockquote type="cite">
                    <div dir="ltr">That is the rule because the compiler
                      need to know the details of the Interface that is
                      defined A because it is being used publicly as
                      your public class implements it. 
                      <div><br>
                      </div>
                      <div>As assembly references aren't transitive you
                        need to be explicit (to embed proper dependency
                        versioning metadata) about which library you are
                        referencing types from.
                        <div> <br>
                        </div>
                        <div>Note that if your type MyClass had just a
                          private field of that interface type, for
                          instance, of if MyClass was in the internal
                          instead of public scope the compiler would not
                          need to have access to library A, but
                          nevertheless your running app would need to
                          have it available to load and execute code in
                          library B.</div>
                      </div>
                      <div><br>
                      </div>
                      <div>Hope it helps,</div>
                    </div>
                    <div class="gmail_extra"><br clear="all">
                      <div>Rafael Teixeira<br>
                        O..:.)oooo<br>
                      </div>
                      <br>
                      <br>
                      <div class="gmail_quote">On Sat, Nov 23, 2013 at
                        1:32 PM, Vassil Vassilev <span dir="ltr"><<a href="mailto:v.g.vassilev@gmail.com" target="_blank">v.g.vassilev@gmail.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br>
                            A silly question:<br>
                            I have interface IInterface defined in a
                          library A.<br>
                            I have a class(generic) MyClass,
                          implementing that interface in library B.<br>
                            I have a user of MyClass (the place I do new
                          MyClass<sometype>()), when trying to
                          compile the code using MyClass it tells me
                          that I need to include not only B but A as
                          well. To me that is strange... Is there a way
                          to workaround this problem? Am I doing
                          something wrong?<br>
                          Many thanks,<br>
                          Vassil<br>
_______________________________________________<br>
                          Mono-devel-list mailing list<br>
                          <a href="mailto:Mono-devel-list@lists.ximian.com" target="_blank">Mono-devel-list@lists.ximian.com</a><br>
                          <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Mono-devel-list mailing list<br>
            <a href="mailto:Mono-devel-list@lists.ximian.com" target="_blank">Mono-devel-list@lists.ximian.com</a><br>
            <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Le doute n'est pas une condition agréable, mais la certitude est
        absurde.
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>