Could not load file or assembly ... An attempt was made to load a program with an incorrect format (
Could not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)使用 vs 2022 preview 这是个64版本的。 打开vs2019项目的。参考https://stackoverflow.com/questions/11370344/could-not-load-file-or-assembly-