Show Visualizers Error “could not load this custom viewer”

后端 未结 11 1996
遥遥无期
遥遥无期 2020-12-17 09:34

When I try to inspect DataSet by standard DataSet visualizer I see this error \"could not load this custom viewer\". I wrote simple dataset visualizer, but

11条回答
  •  借酒劲吻你
    2020-12-17 10:01

    The best way to diagnose this is to debug Visual Studio itself. Try the following

    • Get Visual Studio into the state where you want to use your Visualizer
    • Attach another version of Visual Studio to the original one (managed only)
    • Disable Just My Code (Tools -> Options -> Debugger -> uncheck "Just my Code")
    • Go to Debug -> Exceptions
    • Check the Throw box for "CLR Exceptions"
    • Switch back to the first VS and Attempt to show your Visualizer

    This should throw an exception which will then show up in the second instance of Visual Studio. Please post back with this information if it's not enough to solve your problem.

提交回复
热议问题