VS2005 August CTP / VS SDK Sept CTP interop assembly mismatch

Hi, it seems that the August VS2005 installs a slightly more recent version of Microsoft.VisualStudio.TextManager.Interop.8.0.dll in the GAC to the one installed in the VS SDK common\Assemblies directory.
Specifically, the definition of IVsContainedCode::HostSpansUpdated now returns an int32. This caused a bit of head scratching due to getting tlbexp errors on code that successfully compiled.
Any plans on updating the Sept SDK


Answer this question

VS2005 August CTP / VS SDK Sept CTP interop assembly mismatch

  • Jasmine Lee

    We are investigating, I will reply to this thread with our findings.

    thanks for reporting this!

  • Txoni

    Hi Phil, yes I previously had Beta2 installed so I did wonder whether there may have been some conflict. However, the problem I'm seeing stems from the install of the Sept VS SDK. If I look for the definition of HostSpansUpdated in common\idl\singlefileeditor.idl I also see a return type of void (there are also similiar problems with IVsSmartTagData in textmgr2.idl).
    Maybe somehow I've got an older SDK (but the file structure has all changed so it's definitely recent). I've just downloaded it again from http://www.vsipdev.com/downloads/vsseptemberctpdl.aspx
    and I still see the same issue. Perhaps the version uploaded to vsipdev is the problem

  • VenuKasarla

    have you tried this from a clean machine without that, its very hard to determine if this is cruft from the B2 release or a problem with Sept CTP.

  • sanj

    Looking at the VS August CTP and latest RTM IVsContainedCode::HostSpansUpdated and one from the TM IA that we ship with < xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Sept SDK they are identical.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

    Here is the definition:

    .method public hidebysig newslot abstract virtual

            instance int32  HostSpansUpdated() runtime managed preservesig internalcall

    {

    } // end of method IVsContainedCode::HostSpansUpdated

     

    .method public hidebysig newslot abstract virtual

            instance int32  HostSpansUpdated() runtime managed preservesig internalcall

    {

    } // end of method IVsContainedCode::HostSpansUpdated

     However in Beta 2 we do see a different signature:

    .method public hidebysig newslot abstract virtual

            instance void  HostSpansUpdated() runtime managed internalcall

    {

    } // end of method IVsContainedCode::HostSpansUpdated

    So that tells us that somehow you have mixed versions of VS and SDK.

    Perhaps its an uninstall issue, pehaps something else.

    Regardless the best thing to do is go back to a clean machine and install the VS Aug CTP and the VS SDK Sept CTP again.

    hth.



  • VS2005 August CTP / VS SDK Sept CTP interop assembly mismatch