Error while creating friend assembly.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • archana

    Error while creating friend assembly.

    Hi all

    i am developing one assembly which i want to make as friend assembly.

    I created both the assemblies with strong name, then in assemblyA i
    set internalvisible To as AssemblyB and publick key i specified as
    public kye of assembly B,

    I am getting following warning while compiling assembly A

    Assembly reference 'assemblyB,Publ icKeyToken= is invalid and cannot be
    resolved.

    I don't know whats happening.

    can anyone help me in fixing this problem. One more thing is it
    neccessy that assemblya and assembly b have same strong name means
    same snk file?

    If not then why assemblya is not accepting publickye of assemblyB.
    DO i need to update assemblyinfo file of assemblyB also?

    Please help me asap.

    thanks in advance.

Working...