FIX: ?? ???? ? ??????? ???????? Visual Studio 2008 ??? Microsoft.VisualStudio.Shell.Interop.dll ??????? ?? ????? ???? ?????? ????????? ?? ??????? ?? ????? ???? ?? ?????? ???? ???

???? ?????? ???? ??????
???? ID: 946308 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

?????

?? ?? ???? ?? ?????? ?????? ????????? ?? ??????? ?? ????? ???? ????? ????Microsoft.VisualStudio.Shell.Interop.dllMicrosoft Visual Studio 2008 ??? ???????, ?? ?? ??? ????? ??????? ??? ?? ??? ???

????? 1

????? ???? ?? ??? ?? ?? ?????? ????????? ??????? ???? ?? ??? Regasm.exe ?????? ?? ????? ????, ???? ????? ?????? ????? ??????? ?? ???? ??:
??????: RegAsm RA000: ?????? ????????? ???????? "Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop" ?? ??????? ???? ??? ??? ?????? ??? ??????: 'SVsSolutionObject' ?????? ?? 'SVsSolution' ???? ????? ?? UUID ???

????? 2

?? ?? ???? ?????? ?? ????????? ?? ??????? ???? ?? ??? TlbExp.exe ?????? ?? ?????, ???? ????? ?????? ????? ??????? ?? ???? ??:
??????: TlbExp TX0000: ?????? ????????? ???????? 'Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop' ?? ??????? ???? ??? ??? ?????? ??? ??????: 'SVsSolutionObject' ?????? ?? 'SVsSolution' ???? ????? ?? UUID ???

????? 3

???? Visual Studio 2008 ????? ??? ?????? ?? ????? ???? ?? ?? ???? ???? ??EnvDTE.DTE.Properties???? ??? ?????? ?? ?? ?????? ?? ????? ???? ?? ?? ???? ???????? ?? ??? ????? ??Microsoft.VisualStudio.Shell.Interop.dllassembly, the common language runtime (CLR) will not construct the necessary in-memory type library for the assembly. For example, the following Visual Studio macro that references theEnvDTE.DTE.Propertiesproperty will fail, and then you will receive an error message.
Dim proj As Project = DTE.Solution.Projects.Item(1)
   Dim props As Properties = proj.ConfigurationManager.ActiveConfiguration.Properties

????

?? ?????? ?? ???? ?? ???????ImportedFromTypelibattribute is removed from theMicrosoft.VisualStudio.Shell.Interop.dllassembly in Visual Studio 2008. TheImportedFromTypelibattribute is removed because this assembly does not have an associated type library. ?????,ImportedFromTypelibattribute causes failures when the CLR tries to find an associated type library.

???????ImportedFromTypelib??????? Visual Studio 2008 ??? ?????? ??? ??, CLR ?? ??? ?????? ??????-??? ?????? ????????? ????? ???? ?? ????Microsoft.VisualStudio.Shell.Interop.dll???????? ????????? ?????? GUIDs ?? ?? ?????? ?? ???? ??? ???

????????

???????? ???????



?? ??????? ????????? Microsoft ?? ?????? ??.. ???????, ?? ????????? ???? ?? ?????? ??? ???? ?? ??? ?????? ?? ???? ?? ???? ??? ?????? ???? ??? ??.. ?? ????????? ???? ?? ???????? ?? ???? ???? ?? ?? ??????? ?????? ?? ?????? ?? ??? ???.. ?? ????????? ???? ???????? ??????? ??????? ???.. ?????, ??? ?? ?? ?????? ?? ????? ??? ?? ???????? ???? ???, ?? ?? ??????? ???? ??? ?? ?? ?? ????????? ???? ???? ?????????? ?????? ?? ??? ????????? ????..

MSDN ??? ????? ?? ?? ????????? ??????? ???? ?? ???, ????? Microsoft ??? ???? ?? ????::
HTTP://code.MSDN.Microsoft.com/KB946308

???:MSDN ??? ????? ?????? ?? ?????? ???????? ?????? ?? ?? ????????? ???? ??? ??? ?? ???? ???? ???????? ???? ????? ???, ?? ??? ????? ???? ?? ??????? ?? ???? ?? ??? ??? ????? ?????? ????? ?????? ???? ??..

???:??? ???????? ???????? ??????? ???? ?? ?? ??? ??? ?? ?????? ?????? ??, ?? ???? ?? ??? ???? ?????? ????? ?? ??? ?? ?? ???? ??? ???????? ?????? ???????? ?? ?? ???????? ?? ??? ?? ?????? ????? ???? ???? ?? ?? ??????? ????????? ?? ??? ????? ???? ???.. Microsoft ?????? ???? ?? ?????? ???????? ?????? ?? ?? ????? ???? ?? ??? ?? ?? ??? ???? ?????? ????? ?? ???, ????? Microsoft ??? ???? ?? ????::
http://support.microsoft.com/contactus/?ws=support

??????????????

?? Visual Studio 2008 ?? ???????? ?? ???? ???? ?? ??? ??????? ???? ?????? ???

???? ??????? ????????

???? ?? ????????? ???? ???? ?? ??? ???????? ?? ???? ??????? ???? ???? ??????..

????????? ???????????? ???????

?? ???????? ?? ???????? ???? ?? ???????? ?? ???????????? ???? ?????

????? ???????

?? ????????? ?? ????????? ??????? ??? ?? ????? ????????? (?? ??? ?? ????? ?????????) ??? ?? ????? ?????? ??? ???????? ???.. ?? ??????? ?? ??? ?????? ?? ???, ??????? ????????? ??? (UTC) ??? ???????? ??.. ?? ?? ????? ??????? ????? ???, ?? ?? ??????? ??? ??? ?????? ???? ???? ??.. "UTC ?? ??????? ??? ??? ???? ????? ?? ???, ???????? ??? ??? ""?????? ?? ??? ???"" ??? """"??? ???????"" "??? ????????? ?? ??????????? ???? ??? ???? ???
?? ?????? ?? ??????? ?????? ?????? ?? ??????? ????
????? ???????? ?? ???????????? ?????????????:??????????
Microsoft.VisualStudio.Shell.Interop.dll7.10.6071.025915207-??-200815: 37x86

??????

Microsoft ?? ?????? ?? ?? ?? ?? ?? Microsoft ???????? ??? ?? ?????? ?? ?? "???? ???? ???? ???" ?????? ???????? ???..

???? ???????

?? ???????? ?? ??? ?? ??? ?? ????????? GUIDs ??????? ????ComVisible??? ?? ??? ??? ?? ?????? ????????? generator ????????? GUIDs ?? ????? ???? ?????

?????????? ?????? ???????? ?? ???? ??? ???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
824684Microsoft ?????????? ???????? ?? ????? ???? ?? ??? ????? ?? ???? ???? ???? ???????? ?? ?????
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

???

???? ID: 946308 - ????? ???????: 06 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft Visual Studio 2008 Standard Edition
  • Microsoft Visual Studio Team System 2008 Database Edition
  • Microsoft Visual Studio Team System 2008 Architecture Edition
  • Microsoft Visual Studio Team System 2008 Development Edition
  • Microsoft Visual Studio Team System 2008 Test Edition
  • Microsoft Visual Studio Team System 2008 Team Suite
??????: 
kbqfe kbmt KB946308 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:946308

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com