我使用的是Visual Studio 2008,当运行程序时出现以下错误:
$exception {"无法加载文件或程序集“AForge.Video.FFMPEG,Version=2.2.5.0, Culture=neutral, PublicKeyToken=03563089b1be05dd”或其某个依赖项。尝试加载格式不正确的程序。"}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AForge.Video.FFMPEG;
namespace WindowsFormsApplication9
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
VideoFileReader video = new VideoFileReader();
}
}
}
我的程序有什么问题?