找不到引用Microsoft.DirectX.AudioVideoPlayback和Microsoft.DirectX [英] can't find references Microsoft.DirectX.AudioVideoPlayback and Microsoft.DirectX

查看:182
本文介绍了找不到引用Microsoft.DirectX.AudioVideoPlayback和Microsoft.DirectX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了.net 4.0和XNA 4.0。前一段时间,我使用 Microsoft.DirectX 播放音乐,现在当我尝试重做作品时,找不到参考。平台上的新更改是否修改或移动了引用中的某些内容?

I've installed .net 4.0 as well as XNA 4.0 . A while ago I used Microsoft.DirectX to play some music and now when I try to redo the work, I can't find the reference. Did the new changes on the platform modify or moved something in the references?

推荐答案

Visual Studio 2010:

Visual Studio 2010:

右键单击项目

菜单中选择添加参考...

Menu select "Add reference..."

选择浏览标签

选择目录 C:\windows\assembly\ GAC\Microsoft.DirectX.AudioVideoPlayback

select directory "C:\windows\assembly\ GAC\Microsoft.DirectX.AudioVideoPlayback

要引用的DLL位于该文件夹中。

The DLL to reference is in that folder.

如果您尚未下载DirectX软件开发工具包,则需要先下载并安装该工具。还没有这样做。

You will need to download and install the DirectX Software Development Kit first, if you haven't done so already.

这篇关于找不到引用Microsoft.DirectX.AudioVideoPlayback和Microsoft.DirectX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆