|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Upgrading a project, "Invalid Image" exception?I just took a deep breath, made a backup and decided to have a go at converting my 1.1 project to 2.0. All goes well, apart from 10,000 warning messages about references being used before they are assigned a value (well, we all assume "nothing" is default). Anyway, when I try and run the project I get an error "BadImageFormatException was unhandled", "The format of the file 'Foo.exe' is invalid". I'm assuming 2005 compiles to a .NET 2.0 binary image, so what situations can I get this error in? I've tried "cleaning" the assemblies but the lack of information on why this is happening is not enabling me to make much progress. Any ideas? Thanks Robin Hi Robin,
I responded to your response to me. I fixed my problem and see if it works for you. Glenn Show quoteHide quote "Robinson" <toomuchspamhaspassed@myinboxtoomuchtoooften.com> wrote in message news:eh86oi$mv1$1$8302bc10@news.demon.co.uk... > Hi, > > I just took a deep breath, made a backup and decided to have a go at > converting my 1.1 project to 2.0. All goes well, apart from 10,000 > warning messages about references being used before they are assigned a > value (well, we all assume "nothing" is default). Anyway, when I try and > run the project I get an error "BadImageFormatException was unhandled", > "The format of the file 'Foo.exe' is invalid". > > I'm assuming 2005 compiles to a .NET 2.0 binary image, so what situations > can I get this error in? I've tried "cleaning" the assemblies but the > lack of information on why this is happening is not enabling me to make > much progress. > > Any ideas? > > Thanks > > > Robin > >
Question about walking the file system
Searching desparately for createmailslot example in VB.NET (MSDN universal Subscriber) Show ToolTip on every Control continuously Starting process using shell execute returns nothing Transparent listview My.Settings wont update?? determining current winform application is active, has focus or being used Compressing textfiles, but still read them windows service + vb.net + windows 2003 |
|||||||||||||||||||||||