I need a way to log a warning (that shows up in the errors/warnings window of Visual Studio) that includes the line and column of the error in their appropriate cells in said window. I've seen this done by the built-in content processors/importers, and so I'm guessing the way to do it is with the
messageArgs parameter of the ContentBuildLogger.LogWarning() method, accessed by the
context parameter of my custom processor. My problem is (betcha guessed it) that I have no idea what this parameter does. The method summary contains only this cryptic message regarding
messageArgs:
messageArgs:
[ParamsArrayAttribute] Arguments for the reported message.
Does this mean anything to anybody? I'm a bit lost when it comes to interpreting this summary of the
messageArgs parameter. Can anybody tell me exactly how this parameter is used, or at least whether it does what I think it does? If not, can anyone show me how to do what I need?