SorcererXIII

Hopefully this is easy. I wrote a custom Material Processor that gets its material attributes from a separate XML file. The problem is I don't know how to tell the compiler to rebuild my models once the XML file has changed. I tried clicking everywhere I could think of, and didn't see anything that would allow me to set up this dependency.

Life is about knowing where to click. Please, someone, help me know where I should be clicking.

Thanks!



Re: XNA Game Studio Express file dependencies within content pipeline

Shawn Hargreaves - MSFT

In your processor, call ContentProcessorContext.AddDependency to report the additional file that you are reading.




Re: XNA Game Studio Express file dependencies within content pipeline

SorcererXIII

Wow, I really thought this option was hidden in a menu somewhere. But this appears to be working. Thanks!