App Hub
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (8 posts)

Could not find the add-in deployment cache file

Last post 2/16/2012 7:41 AM by Ghost(dgwutao). 7 replies.
  • 9/27/2011 1:57 PM

    Could not find the add-in deployment cache file

    Hello,

    I have VS2010 along with SP1 installed in my system for many months. I also have XNA GS installed. I downloaded and installed Windows Phone 7 SDK 7.1 RC yesterday. When i create a new Windows Phone Game(4.0) project, it is saying "The XNA game studio platform extensions add-in store returned the following error: Could not find the add-in deployment cache file C:\Program Files(86)\Common Files\Microsoft Shared\XNA\PlatformExtensions\PipelineSegments.store". Please run AddInStore.Update or Rebuild (or run AddInUtil.exe on the command line). Also, ensure your code has permission to read this file. Please run Setup for Microsoft XNA Game Studio Platform Tools to repair your installation"

    Anybody has any solution for this problem. I badly need a solution for this. My VS2010 is run with Admin privileges. When i create 'Windows Phone Game Library(4.0)' also the same error is coming. If i create any Windows Phone 7 application under XNA, the same error is coming. I am able to make other XNA project, like Windows Game and XBox 360 game. Infact, i am able to make any non XNA Windows Phone 7 Application. The error occurs only when i try to create a new project under XNA for Windows Phone 7. Will be so glad if someone can give me a solution.

    Thanks.
  • 9/27/2011 2:34 PM In reply to

    Re: Could not find the add-in deployment cache file

    Try uninstalling both Windows Phone SDK and XNA GS and re-installing Windows Phone SDK.  The WPSDK contains XNA GS, so it's probably getting confused.
  • 9/27/2011 8:19 PM In reply to

    Re: Could not find the add-in deployment cache file

    A couple of other notes here:

     

    1. When uninstalling XNA Game Studio, make sure to also uninstall the item named Microsoft XNA Game Studio Platform Tools.  That component does not get removed during a normal uninstall of XNA Game Studio (because it is shared by multiple versions of XNA Game Studio), and it is one of the components responsible for building the add-in store that is generating the error that you're seeing currently.
    2. It might help to repair/re-install the .NET Framework 4 before trying again to re-install the WP SDK.  The setup custom action that builds the add-in store depends on the .NET Framework, and it might fail behind the scenes if there is something wrong with the .NET Framework 4 on your computer.

    Thanks!

     

  • 9/30/2011 7:55 AM In reply to

    Re: Could not find the add-in deployment cache file

    I tried everything but yet the same error keeps coming. And the same error comes when i also try to create a new XBox360 project. I am only successfully able to create Windows Game.
  • 9/30/2011 2:37 PM In reply to

    Re: Could not find the add-in deployment cache file

    Windows games do not use this add-in store, so that's why you're not seeing the error for that type of game.  If you haven't yet, I'd suggest trying to uninstall and re-install the .NET Framework 3.5 SP1 and .NET Framework 4, then uninstall and re-install the final release of the XNA Game Studio 4.0 Refresh (which will be installed by installing the final release of the Windows Phone SDK 7.1).

    Thanks!
  • 12/16/2011 8:05 AM In reply to

    Re: Could not find the add-in deployment cache file

    Answer
    Reply Quote
    Hi Stebner,

    I tried your methods and, sorry to say, but they didn't work. I uninstalled and re-installed the entire VS2010 package, along with XNA GS, and Windows Phone 7 SDK, which took me several hours, but the problem still existed. Later i found this post http://forums.create.msdn.com/forums/t/49822.aspx and a reply by 'Kyne96 Games', which solved the problem.
    Mine is a 64 bit OS. So what i did was, i executed these two commands in command prompt :
    "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInUtil.exe" -PipelineRoot:"C:\Program Files (x86)\Common Files\microsoft shared\XNA\PipelineHosting\." -Rebuild
    "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInUtil.exe" -PipelineRoot:"C:\Program Files (x86)\Common Files\microsoft shared\XNA\PlatformExtensions\." -Rebuild


    So thank you Aaron Stebner and Kyne96 Games for helping me out.

    Note 1: To execute the commands, type the commands in two separate batch files and open a separate command prompt with administrator privileges and run those two batch files separately.
    Note 2: I got few warning messages while executing the second command. If you also get such warning messages, just ignore them. It will work.

    Regards,
    M.Anand
  • 12/16/2011 3:45 PM In reply to

    Re: Could not find the add-in deployment cache file

    I'm glad to hear that you were able to get things working.  The commands that you listed are run during XNA Game Studio setup, so I'm not sure why uninstalling + re-installing didn't help.  The specific package that they are run during is the Microsoft XNA Game Studio Platform Tools installer.  That package is not automatically uninstalled when you uninstall XNA Game Studio though, so if you didn't also uninstall that before re-installing XNA Game Studio, that might be why the re-install didn't help in your scenario.

    Thanks!
  • 2/16/2012 7:41 AM In reply to

    Re: Could not find the add-in deployment cache file

    yesterday this problem happened to me, so just want to tell you how solve it.
    copy PipelineSegments.store from other computer to yours.
Page 1 of 1 (8 posts) Previous Discussion Next Discussion