i got error when create bootstarp ::
System.BadImageFormatException: Could not load file or assembly '5088 bytes loaded from ConfigurationTool, Version=0.72.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: '5088 bytes loaded from ConfigurationTool, Version=0.72.1.0, Culture=neutral, PublicKeyToken=null' ---> System.BadImageFormatException: Bad IL format.
at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection)
at System.Reflection.Assembly.Load(Byte[] rawAssembly)
at DDay.Update.ConfigurationTool.Compiler.CopyAssemblyInformation(String assemblyFile)
at DDay.Update.ConfigurationTool.Compiler.CompileBootstrap(String sourceExe, String assemblyName, String targetDir, String iconPath)
at DDay.Update.ConfigurationTool.Forms.MainForm.CopyAssemblies(String targetFilename, String targetDir)
at DDay.Update.ConfigurationTool.Forms.MainForm.btnCreateBootstrap_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
please help me .
Anonymous
I'd love to say I still maintain this project... but I don't.
it has been a few years since I've had a client that used this project, but iirc these errors are normally related to how the generated code is compiled. likely its a problem with 64bit vs 32bit vs anycpu. It will be a challenge for me to get a box set up that compile the project, but if you can isolate the problem and write a fix we can probably get it merged in.