c# - XNA Content Build Output not refreshed until all content is built -
is there way see realtime logs content being built using xna content pipeline ?
some content take long time process many steps , great feedback going on asset being processed. tried contentprocessorcontext.logger, console.writeline, debug.writeline , tried increase msbuild verbosity (all levels) without success; logs displayed visual studio output window when content has been built.
thanks in advance help.
this works me - context.logger.logimportantmessage(...);
but complex need debug build... 1 way....
system.diagnostics.debugger.launch();
http://blogs.msdn.com/b/shawnhar/archive/2006/11/08/debugging-the-content-pipeline.aspx
the way prefer (actually prefer not have debug content pipeline), when must:
- i open new instance of visual studio open file in whichi wish place breakpoint
- place break point
- attach instance of vs other (proper) instance of vs
when compile/build breakpoint hit
hope helps.
Comments
Post a Comment