c#directX编程问题
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 Microsoft.DirectX;
using Microsoft.DirectX.DirectSound;
namespace DirectX尝试
{
     public partial class Form1 : Form
     {
         private Device device = new Device();
         public Form1()
         {
             InitializeComponent();
         }
         private void Form1_Load(object sender, EventArgs e)
         {              
         }
         private void button1_Click(object sender, EventArgs e)
         {
             device.SetCooperativeLevel(this, CooperativeLevel.Normal);
             try
             {
                 SecondaryBuffer seconfbuff = new SecondaryBuffer(@"D:\Windows Logon Sound.wav", device);
                 seconfbuff.Play(0, BufferPlayFlags.Default);
             }
             catch (Exception)
             {
                 throw;
             }
         }
     }
}
出现这种情况怎么解决
混合模式程序集是针对“v1.1.4322”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该程序集
怎么配置vs我的是2010的,菜鸟级
------解决方案--------------------太高深了 。。。
------解决方案--------------------
 SecondaryBuffer seconfbuff = new SecondaryBuffer(@"D:\Windows Logon Sound.wav", device);
 seconfbuff.Play(0, BufferPlayFlags.Default);