XNA Creators Club Online
Page 1 of 1 (6 items)
Sort Posts: Previous Next

XAP hangs Visual Studio

Last post 03-25-2008 11:54 AM by luvcraft. 5 replies.
  • 03-24-2008 2:49 PM

    XAP hangs Visual Studio

    When I try to compile my project, Visual Studio (2005 Express) hangs, and I get a pop-up that says "Visual Studio is taking longer than expected". If I set my XAP file to NOT compile, then the project compiles just fine (albeit, of course, with a lot of errors where it couldn't find the wave and sound banks I tell it to open).

    Granted, this IS a pretty big XAP file (over 160 sounds divided between 16 wave banks and sound banks), so I expect that it would take some time to compile, but last night I left it sitting for over an hour and it never finished.

    Any ideas how to fix this?
  • 03-24-2008 6:00 PM In reply to

    Re: XAP hangs Visual Studio

    My guess (no more than that) is that the XACT convertor has come across something it doesn't like in the project. Try replacing it with a super-simple (or empty) project and making sure that works OK. If it does, something in your project must be doing something the converter doesn't expect.

    It won't be size in itself at issue though - XACT has been used before with hundreds of banks and tens of thousands of waves. Sixteen banks and a couple of hundred sounds really isn't "big".

    Pandemonium, an occasionally updated blog about my game, XNA, games development, and the games industry; XapParse, a parser for XAP (XACT) files
  • 03-24-2008 6:11 PM In reply to

    Re: XAP hangs Visual Studio

    is there any way to compile xgs files outside of visual studio, or compile them verbosely so I can see where it's getting stuck?
  • 03-24-2008 6:29 PM In reply to

    Re: XAP hangs Visual Studio

    You can build from within XACT itself. I don't know about any verbose mode, but that would at least eliminate VS as the culprit.

     

  • 03-25-2008 8:20 AM In reply to

    Re: XAP hangs Visual Studio

    You can also use xactbld.exe (which I think comes with XNA, and if not it's definitely in the DirectX SDK) and that does have a verbose mode.
    Pandemonium, an occasionally updated blog about my game, XNA, games development, and the games industry; XapParse, a parser for XAP (XACT) files
  • 03-25-2008 11:54 AM In reply to

    Re: XAP hangs Visual Studio

    cool! thanks!
Page 1 of 1 (6 items) Previous Next