hook - Visual Studio Extension: how to intercept / modify / delete build Error Messages in the Error List? -



hook - Visual Studio Extension: how to intercept / modify / delete build Error Messages in the Error List? -

i'm working on visual studio extension "clean up" compilation error messages create them easier read.

i know how generate own errors. instead, trying modify/replace text of error messages visual studio adds error list pane result of parsing compilation output.

so far have been unsuccessful in finding way this. here findings:

the ivstaskitems in svserrorlist read-only, cannot edit them directly. i cannot delete ivstaskitems either, same reason (and hence cannot replace them own). i can append own text build output window pane, not able modify existing text in order edit error messages before visual studio parses them.

is there other way accomplish goal? there, within extension, way to:

to hook phone call vs makes internally add together error message error list, , alter before processed? to hook output build process , modify before processed vs? to accomplish via other means?

the proper way of doing either modify output of compilation process, or modify way project scheme and/or .targets file reports info compiler ide. if don't have command on either compiler or project system, hard impossible task.

displayed tasks implement ivstaskitem, , interface implemented client code there no guarantees task item provide ability modify of values.

the ivstasklist2 interface adds method removetasks, requires have provider cookie returned when provider registered (and there no way this).

visual-studio hook visual-studio-extensions visual-studio-addins vsix

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -