I am trying to make a game in C #. I want to include XNA libraries there (e.g. Microsoft.XNA.Framework.Graphics). But, if I do this, I get an error:
The XNA type or namespace does not exist in the Microsoft namespace.
Can anybody help?
First of all, make sure that you are using the correct case, the namespace and assembly names are Xnanot Xna. If this does not work:
Xna
. , ( Visual Studio 2010) XNA Game Studio . , .
XNA, Visual Studio " ".
DLL , , , , .NET 4.0 ( XNA 4.0).
XNA. -, XNA Game-Studio Visual Studio .
, (, XNA Game Studio), Microsoft.Xna.Framework.dll .
Microsoft.Xna.Framework.dll
, . , , WinForm - .
"", () , . XNA.DLL.
In the solution explorer. Go to the link, add the link, and then add the link Microsoft.Xna.Framework.Xact 4.0. It is somewhere down below if you leave it unsorted. Then you can access the Audio Engine class.
I had the same problem and then I found it a third time. Worked well for me. Hope this helps.
Instead of lamenting the link list in Visual Studio, simply download the DLL from HERE or the direct link: https://www.dllme.com/dll/files/microsoft_xna_framework_dll.html