XPathTools
XPathTools copied to clipboard
Copy to clipboard issue
First of all: very useful plugin! thanks for that. unfortunatelly i stepped over a annoying issue:
Error message on each subs of "Copy XPath" context menu (in XML Editor). Doesnt matcher which node is selected nor which of the 4 sub menu items are chosen.
Detailed message: "OpenClipboard Failed (Exception from HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))"
Visual Studio:
Microsoft Visual Studio Professional 2019 Version 16.6.2 VisualStudio.16.Release/16.6.2+30204.135 Microsoft .NET Framework Version 4.8.03761
Installed Version: Professional
Code:
https://github.com/uli-weltersbach/XPathTools/blob/944d1a0d6902de5cfcfa8a9c404fb558c8d6b6ae/ReasonCodeExample.XPathTools/Writers/CopyCommand.cs#L52
Resources, workaround & solutions:
- https://stackoverflow.com/a/17678542/1764844
- https://github.com/ColinDabritz/PoeItemAnalyzer/issues/1#issuecomment-228575788
- https://github.com/snoopwpf/snoopwpf/issues/33#issuecomment-496266943