Advertisement

Can someone get this XNA project to run on Windows 7 64-bit?

Started by February 25, 2010 12:19 AM
9 comments, last by realgames 14 years, 8 months ago
From here: http://animationcomponents.codeplex.com/wikipage?title=Making%20a%20Dwarf%20Realistically%20Walk%20and%20Run&referringTitle=Tutorial%20Home download DwarfTutorial.zip The ZIP file of the project is: http://animationcomponents.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=10136" My setup is: - AMD PC, 64-bit Windows 7 - Visual Studio 2008 - DirextX SDK (Feb 10 release) - XNA 3.1 Game studio Every time I try to run Game1.cs from that project, I get an exception on line 71: Could not load file or assembly 'Microsoft.Xna.Framework.Game, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d' or one of its dependencies. The system cannot find the file specified. Can anyone get it to run?
Do you have the XNA framework installed on the target machine? It sounds to me like it's missing...

EDIT: Never mind. Looking at the date on the page you linked to, it could be using XNA 1.0. That could explain the "missing... 1.0.0.0..." message. I didn't see a solution or project file in any of the .zip files you linked to, otherwise I would have tried to fire it up.


EDIT2: By chance have you seen this sample?
Advertisement
Quote: Original post by Moe
Do you have the XNA framework installed on the target machine? It sounds to me like it's missing...


Yea
Quote: Original post by Moe
Do you have the XNA framework installed on the target machine? It sounds to me like it's missing...

EDIT: Never mind. Looking at the date on the page you linked to, it could be using XNA 1.0. That could explain the "missing... 1.0.0.0..." message. I didn't see a solution or project file in any of the .zip files you linked to, otherwise I would have tried to fire it up.


EDIT2: By chance have you seen this sample?




I want to use the animation library because it can blend animation sequences (like from walk to run).

If someone could just get my original sample to run under Windows 7 64 bit that would be awesome.
I don't have Windows 7 or a 64-bit copy of Windows, but I believe that XNA is 32-bit only and so will not load when using the 64-bit version of the runtimes. Try changing the project to target "x86", not "Any CPU".

In this case, it looks like the project targets XNA 1, so you'll need to install and use XNA 1 (alternatively, update the code/project yourself for XNA 3).

[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]

I already tried changing the project type. I tried making a new XNA project that runs fine but when I copy and past over the code from the original example it gives me an exception.

Advertisement
Quote: Original post by benryves
I don't have Windows 7 or a 64-bit copy of Windows, but I believe that XNA is 32-bit only and so will not load when using the 64-bit version of the runtimes. Try changing the project to target "x86", not "Any CPU".

In this case, it looks like the project targets XNA 1, so you'll need to install and use XNA 1 (alternatively, update the code/project yourself for XNA 3).


I tried installing XNA 1 Refresh, and XNA 2 from the Microsoft website, but both of them gave me an error when I tried installing: They require Microsoft Visual C# 2005 Express installed
Earlier versions of XNA don't support 2008, so if you insist on using the older framework, you need to downgrade Visual C#. I tried downloading the ZIP and I get the same error whenever any of the Xclna.Xna... DLLs are used, so I guess they're built for the earlier versions.
The projects you have linked are both XNA 1.0 projects, and the Xclna.Xna.Animation.Content.dll and Xclna.Xna.Animationx86.dll libraries that they reference themselves are built against XNA 1.0.

Here are your options:

1) Install VC# Express 2005 and XNA 1.0 and use that. Terrible plan.

2) Download the source code to those two libraries and convert them to XNA 3.1 (as well as the tutorial code).

3) Find a library that isn't really, really old and is still maintained. The one you're trying to use hasn't been updated in 3 years (and 2.1 versions of XNA)!

And, obviously, the problem you are having has nothing to do with Windows 7 or running x64.
Yes! It works on XNA 3.0

This topic is closed to new replies.

Advertisement