protected internal T Func<T>() where T: SomeBase error u must include assembly RRS feed

  • Question

  • I have 3 assemblies

    FirstAsm : contains referents  to SecondAsm

    SecondAsm: contains reference to TherdAsm,FirstAsm

    TherdAsm: contains reference to SedcondAsm

    I have base class in SecondAsm with following signature

    protected internal T Func<T>() where T: SomeBase

    SomeBase in FirstAsm

    compiler emit error that  that TherdAsm needs ref to FirstAsm, but method is protected internal???

    if remove " where T:SomeBase " solution builds.

    Wednesday, December 1, 2010 10:13 AM


  • Hi Vadym

    Thanks for your post.

    I try to reproduce your problem. But SecondAsm can not contain reference to FirstAsm while FirstAsm contains reference to SecondAsm.

    Please try again if you can add the 2 references at the same time.

    Best Regards,


    Please mark the right answers which satisfy your requirements.That will be helpfull for all community members. Thanks, Cookie
    • Marked as answer by eryang Monday, December 13, 2010 10:08 AM
    Friday, December 3, 2010 2:43 AM