I was looking through files that were installed with XNA framework and after that I got back to programming and I got an error:
The .xap file was created with a version of XACT that is incompatible with
the XNA Framework Content Pipeline version used by this project. Refer to the
documentation for options to resolve this mismatch.
I don't know what it means. How can I fix it?
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.
.xap
project in the XACT UI and close the XACT UI.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