I download the sample of
WinForms Series 2: Content Loading and try to add one class(called AkBasicModel). But It appears the error as below:
Error 2 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) D:\SVN\AkiraSVN\AkiraXNA\Utility\BasicModel.cs 3
I am sure that the Rederences include "System", but not include "System.Xml" and "System.Xml.Linq".
Could somebody tell me how to solve this problem?
| 1 |
using System; |
| 2 |
using System.Collections.Generic; |
| 3 |
using System.Linq; |
| 4 |
using System.Text; |
| 5 |
using Microsoft.Xna.Framework; |
| 6 |
using Microsoft.Xna.Framework.Graphics; |
| 7 |
using Microsoft.Xna.Framework.Content; |
| 8 |
// |
| 9 |
using AkCamera; |
| 10 |
|
| 11 |
//reference Book: Learning XNA 3.0 chapter10 |
| 12 |
|
| 13 |
namespace AkBasicModel |
| 14 |
{ |
| 15 |
class BasicModel : Microsoft.Xna.Framework.DrawableGameComponent |