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

Setting multiple content properties all at once in content manager.

Last post 06/11/2009 0:32 by The ZMan. 7 replies.
  • 05/11/2009 22:05
    • (196)
    • premium membership
    • Posts 109

    Setting multiple content properties all at once in content manager.

    This is a pretty trivial problem but considering how many times I've done it I have to ask. Is there a way to set multiple files to not compile and copy to the ouput folder at once?
    It'd be pretty simple if every file were in one folder but I have a lot of folders preventing me from just using shift and select which makes the process rather time consuming.
  • 05/11/2009 22:23 In reply to

    Re: Setting multiple content properties all at once in content manager.

    If you don't want the Content Pipeline to build your files, why are you adding them to the Content Project at all?

    The whole point of the Content project is that it uses the Content Pipeline to build its contents. If you want to do something different to your files, why not just add them to a different project?
    XNA Framework Developer - blog - homepage
  • 05/11/2009 23:17 In reply to
    • (196)
    • premium membership
    • Posts 109

    Re: Setting multiple content properties all at once in content manager.

    I'm not quite sure what you mean by adding them to a different project.
    Aside from that, I thought the only way to deploy something to the xbox was directly through the content project.
  • 05/11/2009 23:26 In reply to

    Re: Setting multiple content properties all at once in content manager.

    Create a new project in you solution - call it NoBuild or something like that.
    In the solution configuration options - uncheck the 'Build' checkbox for that project - and it won't be built.
    Game hobbyist hell-bent on coding a diabolical Matrix
  • 05/11/2009 23:46 In reply to
    • (196)
    • premium membership
    • Posts 109

    Re: Setting multiple content properties all at once in content manager.

    I think I see what you're getting at but I'd still have to set all the files to "copy if newer". The ability to place files outside the content manager slipped my mind.

    I was thinking there was maybe some shortcut key like press [keyA + keyB] to select all the files inside the folder(s).
  • 06/11/2009 0:06 In reply to

    Re: Setting multiple content properties all at once in content manager.

    Answer
    Reply Quote
    It's a one off operation - what does Nike say?
    Game hobbyist hell-bent on coding a diabolical Matrix
  • 06/11/2009 0:26 In reply to
    • (196)
    • premium membership
    • Posts 109

    Re: Setting multiple content properties all at once in content manager.

    Haha, does Nike still say that? Been a while. : j

    Anyway, not problem just thought there might be some quick and interesting solution I could use in various ways later on.
  • 06/11/2009 0:32 In reply to

    Re: Setting multiple content properties all at once in content manager.

    Open .csproj file with notepad... search/replace/regexp... etc etc

    Play Kissy Poo - a game for 4 year olds on Xbox and windows
    The ZBuffer
    News and information for XNA
      Follow The Zman on twitter, Email me
        Please read the forum FAQs - Bug/Feature reporting
          Don't forget to mark good answers and good playtest feedback when you see it!!!
Page 1 of 1 (8 items) Previous Next