When updating from a differect XNA version, such as XNA 3.1 to 4.0, you need to convert your XACT files to the latest version.
There is an in depth guide here, but I'll highlight the points.
Make a backup copy of your .xap
file if you would like to keep a copy of the .xap
file from before the upgrade.
On a system with XNA Game Studio 4.0 installed, click on the Start menu > All Programs, > Microsoft XNA Game Studio 4.0 > Tools |> Microsoft Cross-Platform Audio Creation Tool 3 (XACT3). This is the latest version and will allow you to update your file.
In the XACT3 tool, open the .xap
file from the project that you upgraded to XNA 4. When it loads, you should see the following message in the XACT UI:
This project file was created with the March 2009 release of XACT.
You are running the February 2010 release.
If you save this project, it will be saved as the current version
and may no longer work with the version of XACT it was originally
created with.
Click Ok to upgrade the .xap
project to the new February 2010 format.
- Save the
.xap
project in the XACT UI and close the XACT UI.
- Go back to Visual Studio 2010, open the project that you upgraded from XNA Game Studio 3.1 to 4.0 and choose to build it again.
Their is also this thread over on MSDN saying you can simply convert the .xap
by opening it in XACT3, Saving, and rebuilding the project