I'm also seeing an error message like the original post in this thread.
System.BadImageFormatException was unhandled
Message="Could not load file or assembly 'wcl, Version=6.7.1.0, Culture=neutral, PublicKeyToken=ecf108583bd9ca73' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Source="WCLtest4"
FileName="wcl, Version=6.7.1.0, Culture=neutral, PublicKeyToken=ecf108583bd9ca73"
FusionLog="=== Pre-bind state information ===\r\nLOG: User = E6400-Win7\\Royce\r\nLOG: DisplayName = wcl, Version=6.7.1.0, Culture=neutral, PublicKeyToken=ecf108583bd9ca73\n (Fully-specified)\r\nLOG: Appbase = file:///C:/d/vc# 2008/WCLtest4/WCLtest4/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : WCLtest4, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config\\machine.config.\r\nLOG: Post-policy reference: wcl, Version=6.7.1.0, Culture=neutral, PublicKeyToken=ecf108583bd9ca73\r\nLOG: Attempting download of new URL file:///C:/d/vc# 2008/WCLtest4/WCLtest4/bin/Debug/wcl.DLL.\r\nERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.\r\n"
StackTrace:
at WCLtest4.Form1.InitializeComponent()
at WCLtest4.Form1..ctor() in C:\d\vc# 2008\WCLtest4\WCLtest4\Form1.cs:line 15
at WCLtest4.Program.Main() in C:\d\vc# 2008\WCLtest4\WCLtest4\Program.cs:line 17
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Development is on a Win7 64 bit laptop. I was seeing this message with the WCL installed in \Program Files (X86)\WCL, so I uninstalled WCL and reinstalled in a new directory (not under \Program Files).