Content Processor Parameters in XNA 4 - what is missing?

616 Views Asked by At

I have a content processor in my XNA project and I would like to add a couple of parameters so I can control its behaviour for certain files in Visual Studio.

I follow the second section of this page: http://msdn.microsoft.com/en-us/library/bb975253.aspx, which is the same info as on many other sites, however when I try to specify a property as a parameter I get "type or namespace cannot be found" for the three attributes.

Its probably something like a missing 'using' statement but without a working example project I can't find out what/where the namespace is.

1

There are 1 best solutions below

1
On BEST ANSWER

You can find these classes in the System.ComponentModel assembly/namespace. For example, here's the MSDN documentation for the DisplayNameAttribute