If you are using ClickOnce to deploy a Windows game created with XNA Game Studio 3.0, you might run into an issue that causes the game to not run correctly after being deployed to a user’s computer. If your Windows game project was originally created with the XNA Game Studio 3.0 CTP, it will not be configured to include the XNA Framework Redistributable 3.0 as a prerequisite by default (because that feature was not added until the 3.0 beta).
In this scenario, you can use the following steps to manually add the XNA Framework Redistributable 3.0 as a prerequisite for your Windows game, and then re-publish your game to get the changes to take effect:
- Right-click on your Windows game project in the Visual Studio 2008 or Visual C# 2008 Express Edition solution explorer and choose Properties
- Choose the Publish tab
- Click the Prerequisites… button
- Check the item at the bottom of the list that is named Microsoft XNA Framework Redistributable 3.0
- Click OK to dismiss the Prerequisites dialog
- Save your project
- Publish your project
New Windows game projects created in the final release of XNA Game Studio 3.0 will automatically include the XNA Framework Redistributable 3.0 as a prerequisite by default, so these steps are only needed for Windows game projects originally created with the 3.0 CTP.