English 中文(简体)
无法添加 Microsoft. Xna. Framework. content. 在视觉 C# 2010 Express, Windows 7 中加入 Microsoft. Xna. Framework. 内容. Pipeline 吗?
原标题:Unable to add Microsoft.Xna.Framework.Content.Pipeline in Visual C# 2010 Express, Windows 7?

我在编译代码时, 很难找到我已装入2010 C# Express的图像文件 。

Based on the answer here: Missing option for "Content Importer" in XNA (trying to import video) I m trying to add a reference to Microsoft.Xna.Framework.Content.Pipeline, but it s not an option available in the Add Reference section.

As such, the Content Importer and Content Processor fields mentioned here are not showing up: xna 4.0 and loading images fails

每次我试图装入.jpg,.tga,或.png作为纹理。

我在哪里能找到参考,或者有办法绕过它?

问题回答

回答很迟, 但希望仍有人觉得有用:

要使用 Microsoft.Xna.Framework. content.Pipeline, 您需要将您的工程目标框架设置为 .NET Forum 4 , 而不是 .NET Frameworld 4 客户端配置 , 似乎这是默认的。 您可以在您的工程属性下这样做 。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签