The following error is being thrown twice when I try to create a new IronPython WinForms project using SharpDevelop 3.1 beta 1. This error has happened three times now. This is causing the program to close. Note there is a FileNotFoundException on Microsoft.Scripting.
It looks this namespace is contained within SCRRUN.DLL which is present in my System32 folder.
SharpDevelop Version : 3.1.0.4077
.NET Version : 2.0.50727.3082
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (Australia) (en-AU)
Current UI language : en-US
Working Set Memory : 66368kb
GC Heap Memory : 16997kb
Error parsing C:\Documents and Settings\Mike\My Documents\SharpDevelop Projects\PyWinForm\PyWinForm\MainForm.py
Exception thrown:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Scripting, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Scripting, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at ICSharpCode.PythonBinding.PythonParser.CreateAst(String fileName, String fileContent)
at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, String fileContent)
at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent fileProjectContent, String fileName, String fileContent, Boolean updateCommentTags)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
---- Recent log messages:
21:09:30.156 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\en\System.Data.xml
21:09:30.156 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.xml
21:09:30.156 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\en\System.Data.xml
21:09:30.156 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.xml
21:09:30.265 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
21:09:30.265 [loadSolutionProjects] DEBUG - Loading PC for System.Drawing
21:09:30.265 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\en\System.Drawing.xml
21:09:30.265 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.xml
21:09:30.265 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\en\System.Drawing.xml
21:09:30.265 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.xml
21:09:30.359 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll
21:09:30.359 [loadSolutionProjects] DEBUG - Loading PC for System.Windows.Forms
21:09:30.359 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\en\System.Windows.Forms.xml
21:09:30.359 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.xml
21:09:30.359 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\en\System.Windows.Forms.xml
21:09:30.359 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.xml
21:09:30.796 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll
21:09:30.796 [loadSolutionProjects] DEBUG - Loading PC for System.Xml
21:09:30.796 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\en\System.Xml.xml
21:09:30.796 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.xml
21:09:30.796 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\en\System.Xml.xml
21:09:30.796 [loadSolutionProjects] DEBUG - Try find XMLDoc @C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.xml
21:09:30.828 [loadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
21:09:30.843 [loadSolutionProjects] ERROR - Error parsing C:\Documents and Settings\Mike\My Documents\SharpDevelop Projects\PyWinForm\PyWinForm\MainForm.py
--> Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Scripting, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Scripting, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at ICSharpCode.PythonBinding.PythonParser.CreateAst(String fileName, String fileContent)
at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, String fileContent)
at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent fileProjectContent, String fileName, String fileContent, Boolean updateCommentTags)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
21:09:30.843 [loadSolutionProjects] WARN - Stack trace of last error log:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ICSharpCode.Core.MessageService.ShowError(Exception ex, String message)
at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent fileProjectContent, String fileName, String fileContent, Boolean updateCommentTags)
at ICSharpCode.SharpDevelop.ParseProjectContent.Initialize2(IProgressMonitor progressMonitor)
at ICSharpCode.SharpDevelop.ParserService.LoadSolutionProjectsInternal()
at ICSharpCode.SharpDevelop.ParserService.LoadSolutionProjects()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: <null>
ProjectService.OpenSolution: [Solution: FileName=C:\Documents and Settings\Mike\My Documents\SharpDevelop Projects\PyWinForm\PyWinForm.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: <null>