Hello Sharp Develop Team,
May I please have your help with a Flash Drive access question? My goal is to load the most recent revision of Sharp Develop and create and run a Windows Application Solution (Project) all using a “PNY 4GB “ Flash Drive. I have loaded the Sharp Develop 3.0.1 environment onto the Flash Drive and I have created a Project. However, when I run or debug the Project the error message shown below occurs. Please review the error message and provide any instructions on correcting the problem or please let me know if there is a need for any other information:
error message:
SharpDevelop Version : 3.1.0.4977
.NET Version : 2.0.50727.3603
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Working Set Memory : 29528kb
GC Heap Memory : 18665kb
Exception thrown:
System.BadImageFormatException: Could not load file or assembly 'file:///E:\SharpDevelop\3.0\AddIns\AddIns\Misc\Debugger\Debugger.AddIn.dll' or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)
File name: 'file:///E:\SharpDevelop\3.0\AddIns\AddIns\Misc\Debugger\Debugger.AddIn.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[ hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at ICSharpCode.Core.Runtime.Load()
at ICSharpCode.Core.AddIn.CreateObject(String className)
at ICSharpCode.SharpDevelop.Debugging.DebuggerDescriptor.get_Debugger()
at ICSharpCode.SharpDevelop.Debugging.DebuggerService.GetCompatibleDebugger()
at ICSharpCode.SharpDevelop.Debugging.DebuggerService.get_CurrentDebugger()
at ICSharpCode.SharpDevelop.Project.AbstractProject.Start(Boolean withDebugging)
at ICSharpCode.SharpDevelop.Project.Commands.Execute.<>c__DisplayClass1.<Run>b__0(Object , EventArgs )
at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.OnBuildComplete(EventArgs e)
at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.CallbackMethod(BuildResults results)
at ICSharpCode.SharpDevelop.Project.BuildEngine.<ReportDone>b__0()
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:
08:08:43.109 [1] DEBUG - ActiveWorkbenchWindowChanged to
08:08:43.109 [1] DEBUG - ProjectBrowser: Loading solution [Solution: FileName=C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\SerialPort.sln, HasProjects=True, ReadOnly=False] into project tree view
08:08:43.187 [1] INFO - Loading addin FormsDesigner.dll
08:08:43.265 [1] INFO - Loading addin :ICSharpCode.SharpDevelop
08:08:43.265 [1] INFO - Loading addin :ICSharpCode.SharpDevelop
08:08:43.265 [1] INFO - Loading addin :ICSharpCode.SharpDevelop
08:08:43.265 [1] INFO - Loading addin WixBinding.dll
08:08:43.390 [1] INFO - Loading addin :ICSharpCode.SharpDevelop
08:08:43.390 [1] INFO - Loading addin :ICSharpCode.SharpDevelop.Dom
08:08:43.390 [1] INFO - Loading addin FSharpBinding.dll
08:08:43.562 [1] INFO - Initialize DirectoryNode C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\SerialPort
08:08:43.625 [1] INFO - Initialize DirectoryNode C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\SerialPort\Properties
08:12:40.984 [1] INFO - Run command ICSharpCode.SharpDevelop.Project.Commands.Execute
08:12:41.156 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.CompilerMessageView
08:12:41.203 [1] INFO - Start building SerialPort
08:12:41.250 [6] INFO - Start job (buildInProcess=True): BuildJob:
ProjectFileName = C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\SerialPort\SerialPort.csproj
Target = Build
13 Properties:
StyleCopDir =
BuildingInsideVisualStudio = true
PythonBinPath = E:\SharpDevelop\3.0\bin\..\AddIns\AddIns\BackendBindings\PythonBinding
FxCopDir =
FSharpBuildTasksPath = E:\SharpDevelop\3.0\bin\..\AddIns\AddIns\BackendBindings\FSharpBinding
BooBinPath = E:\SharpDevelop\3.0\bin\..\AddIns\AddIns\BackendBindings\BooBinding
SharpDevelopBinPath = E:\SharpDevelop\3.0\bin
SolutionDir = C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\
SolutionExt = .sln
SolutionFileName = SerialPort.sln
SolutionPath = C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\SerialPort.sln
Configuration = Debug
Platform = x86
2 Additional Imports:
E:\SharpDevelop\3.0\bin\..\AddIns\AddIns\Misc\SourceAnalysis/SharpDevelop.SourceAnalysis.targets
$(SharpDevelopBinPath)/SharpDevelop.CodeAnalysis.targets
8 Interesting Task Names:
booc
csc
fsc
ilasm
light
lit
vbc
FxCop
08:12:41.250 [InProcess build thread 8] DEBUG - Acquiring InProcessMSBuildLock
08:12:41.468 [InProcess build thread 8] DEBUG - BuildInProcess: Received BuildDoneCallback
08:12:41.468 [InProcess build thread 8] INFO - Finished building SerialPort
08:12:41.468 [InProcess build thread 8] INFO - Start building SerialPort
08:12:41.468 [InProcess build thread 8] DEBUG - Leaving InProcessMSBuildLock
08:12:41.468 [6] INFO - Finished building SerialPort
08:12:41.468 [1] INFO - Debugger Command: Start (withDebugger=True)
08:12:41.500 [1] INFO - Loading addin Debugger.AddIn.dll
08:12:42.187 [1] ERROR - ThreadException caught
--> Exception:
System.BadImageFormatException: Could not load file or assembly 'file:///E:\SharpDevelop\3.0\AddIns\AddIns\Misc\Debugger\Debugger.AddIn.dll' or one of its dependencies. The file or directory is corrupted and unreadable. (Exception from HRESULT: 0x80070570)
File name: 'file:///E:\SharpDevelop\3.0\AddIns\AddIns\Misc\Debugger\Debugger.AddIn.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[ hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at ICSharpCode.Core.Runtime.Load()
at ICSharpCode.Core.AddIn.CreateObject(String className)
at ICSharpCode.SharpDevelop.Debugging.DebuggerDescriptor.get_Debugger()
at ICSharpCode.SharpDevelop.Debugging.DebuggerService.GetCompatibleDebugger()
at ICSharpCode.SharpDevelop.Debugging.DebuggerService.get_CurrentDebugger()
at ICSharpCode.SharpDevelop.Project.AbstractProject.Start(Boolean withDebugging)
at ICSharpCode.SharpDevelop.Project.Commands.Execute.<>c__DisplayClass1.<Run>b__0(Object , EventArgs )
at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.OnBuildComplete(EventArgs e)
at ICSharpCode.SharpDevelop.Project.Commands.AbstractBuildMenuCommand.CallbackMethod(BuildResults results)
at ICSharpCode.SharpDevelop.Project.BuildEngine.<ReportDone>b__0()
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].
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.CompilerMessageView
ProjectService.OpenSolution: [Solution: FileName=C:\Documents and Settings\Bradley_R.FLORIDADEP\My Documents\SharpDevelop Projects\SerialPort\SerialPort.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: <null>
Thank you,
Reginald