[IronPython] Visual Studio Tools Startup Error

Thomas Heller theller at ctypes.org
Thu Sep 30 19:28:38 CEST 2010



Dino Viehland <dinov at microsoft.com> schrieb:

>I'm not entirely certain what would cause this...  We do need a few MEF
>Imports to create the IPythonRuntimeHost but those should always be
>Available (they're core VS functionality).  
>
>After uninstalling IronPython 2.7 is there anything left in 
>%PROGRAMFILES%\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft
>
>Such as IronStudio or IronPython Tools for Visual Studio?  If so can you delete
>those directories and try re-installing?  It also might be good to check 
>%LOCALAPPDATA%\Microsoft\VisualStudio\10.0\Extensions\Microsoft but
>there really shouldn't be anything there.
>
>> -----Original Message-----
>> From: users-bounces at lists.ironpython.com [mailto:users-
>> bounces at lists.ironpython.com] On Behalf Of Bruce Bromberek
>> Sent: Wednesday, September 29, 2010 7:15 AM
>> To: Users at lists.ironpython.com
>> Subject: [IronPython] Visual Studio Tools Startup Error
>> 
>> I had to repair my VS2010 Ultimate install, and now Ironpython does not
>> work.
>> 
>> I get this error message on startup of VS2010:
>> The 'Microsoft.IronpythonTools.IronpythonToolsPackage,
>> IronpythonTools, Version 1.0.0.0 .....' package did not load correctly.
>> 
>> The Activity Log gives me the following lines with IronPython in them.
>> 
>> Line 459:     <description>Begin package load
>> [Microsoft.IronPythonTools.IronPythonToolsPackage, IronPythonTools,
>> Version=1.0.0.0, Culture=neutral,
>> PublicKeyToken=31bf3856ad364e35]</description>
>> 	Line 636:     <path>C:\Program Files\Microsoft Visual Studio
>> 10.0\Common7\IDE\Extensions\Microsoft\IronPython Tools for Visual
>> Studio\0.4\</path>
>> 	Line 1411:     <description>SetSite failed for package
>> [Microsoft.IronPythonTools.IronPythonToolsPackage, IronPythonTools,
>> Version=1.0.0.0, Culture=neutral,
>> PublicKeyToken=31bf3856ad364e35]</description>
>> 	Line 1414:     <errorinfo>No valid exports were found that match the
>> constraint '((exportDefinition.ContractName ==
>> "Microsoft.IronPythonTools.IPythonRuntimeHost") AndAlso
>> (exportDefinition.Metadata.ContainsKey("ExportTypeIdentity") AndAlso
>> "Microsoft.IronPythonTools.IPythonRuntimeHost".Equals(exportDefinition.
>> Metadata.get_Item("ExportTypeIdentity"))))',
>> invalid exports may have been rejected.</errorinfo>
>> 		Line 1421:     <description>End package load
>> [Microsoft.IronPythonTools.IronPythonToolsPackage, IronPythonTools,
>> Version=1.0.0.0, Culture=neutral,
>> PublicKeyToken=31bf3856ad364e35]</description>
>> 	Line 1424:     <errorinfo>No valid exports were found that match the
>> constraint '((exportDefinition.ContractName ==
>> "Microsoft.IronPythonTools.IPythonRuntimeHost") AndAlso
>> (exportDefinition.Metadata.ContainsKey("ExportTypeIdentity") AndAlso
>> "Microsoft.IronPythonTools.IPythonRuntimeHost".Equals(exportDefinition.
>> Metadata.get_Item("ExportTypeIdentity"))))',
>> invalid exports may have been rejected.</errorinfo>
>> 	Line 1439:     <description>Begin package load
>> [Microsoft.IronStudio.IronStudioPackage, IronStudio, Version=1.0.0.0,
>> Culture=neutral, PublicKeyToken=31bf3856ad364e35]</description>
>> 	Line 1447:     <description>End package load
>> [Microsoft.IronStudio.IronStudioPackage, IronStudio, Version=1.0.0.0,
>> Culture=neutral, PublicKeyToken=31bf3856ad364e35]</description>
>> 
>> 
>> I've tried uninstalling/reinstalling IronPython 2.7 with no change.  Any ideas?
>> 
>> 
>> 
>> Bruce
>> _______________________________________________
>> Users mailing list
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>_______________________________________________
>Users mailing list
>Users at lists.ironpython.com
>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the Ironpython-users mailing list