What the heck is this error ?

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

    What the heck is this error ?

    I am getting this and I have no idea what it means. All I did was
    install VS.Net 2003 and re-load my 2002 version project and
    re-compile

    Thanks,

    JIM

    Signature of the body and declaration in a method implementation do not
    match.
    Type: MyType.
    Assembly: MyApp, Version=3.0.135 5.26622, Culture=neutral ,
    PublicKeyToken= null."Assembly: MyApp, Version=3.0.135 5.26622,
    Culture=neutral , PublicKeyToken= null." } System.Exceptio n

    System.TypeLoad Exception: Signature of the body and declaration in a method
    implementation do not match. Type: MyType. Assembly: MyApp,
    Version=3.0.135 5.26436, Culture=neutral , PublicKeyToken= null.
    at MyType.Initiali zeComponent()
    at MyType..ctor() in d:\MyType.cs:li ne 103
    <snip rest of trace>


  • Grant Richins [MS]

    #2
    Re: What the heck is this error ?

    Do you have incremental build turned on or off? It's possible that the
    compiler is generating a bad image.

    --
    --Grant
    This posting is provided "AS IS" with no warranties, and confers no rights.


    Comment

    • james

      #3
      Re: What the heck is this error ?

      Yes I had incremental build turned on, but I just turned it off,
      and did a re-build and get them same problem. Any other
      ideas ?

      Thanks,

      JIM

      "Grant Richins [MS]" <grantri@online .microsoft.com> wrote in message
      news:#JBlRDXfDH A.460@TK2MSFTNG P12.phx.gbl...[color=blue]
      > Do you have incremental build turned on or off? It's possible that the
      > compiler is generating a bad image.
      >
      > --
      > --Grant
      > This posting is provided "AS IS" with no warranties, and confers no[/color]
      rights.[color=blue]
      >
      >[/color]


      Comment

      • james

        #4
        Re: What the heck is this error ? - SOLVED

        my badd

        I had an old app.config file that was calling out the old .net versions

        JIM


        "james" <jklett@opensho pinc.com> wrote in message
        news:#cOVe7ffDH A.944@TK2MSFTNG P11.phx.gbl...[color=blue]
        > Yes I had incremental build turned on, but I just turned it off,
        > and did a re-build and get them same problem. Any other
        > ideas ?
        >
        > Thanks,
        >
        > JIM
        >
        > "Grant Richins [MS]" <grantri@online .microsoft.com> wrote in message
        > news:#JBlRDXfDH A.460@TK2MSFTNG P12.phx.gbl...[color=green]
        > > Do you have incremental build turned on or off? It's possible that the
        > > compiler is generating a bad image.
        > >
        > > --
        > > --Grant
        > > This posting is provided "AS IS" with no warranties, and confers no[/color]
        > rights.[color=green]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...