Error: An attempt was made to load a program with an incorrect format(blogs.microsoft.co.il)
submitted by
arikp(1204) 1 year, 8 months ago
Fix Error: An attempt was made to load a program with an incorrect format
While trying to run the sample project ShellObjectWatcherSampleWPF from the latest version of Windows API Code Pack, I came across the following problem, both in Visual Studio 2008 and 2010:
Or in a search-engine friendly way:
“Cannot create instance of ‘MainWindow’ defined in assembly, ‘ShellObjectWatcherSampleWPF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Exception has been thrown by the target of an invocation...
|category: CLR
|Views: 10
tags:
CLR another
Everyones tags:
Your Tags: