-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix copy to clipboard option (+ UX feedback) #457
Comments
Thanks for the bug report, from the error, it looks like you've perhaps missed the option to set the conversion direction.
Let me know if that works for you. We might be able to make it more obvious or provide a better error message if that's the case. |
Thanks, but I'm using the Visual Studio extension and right-clicking on a .cs file in the VB project. |
Interesting. Sounds like the commands may be mixed up in code - I'll check tomorrow! |
FYI I got it to work just now by right-clicking a .cs file in a CS project. It's when I attempt to convert a .cs file in a VB project that it errs. |
As usual, a user error uncovers a bug ;-) |
Oh wait I just reread that. A CS file in a VB project? Makes sense why it wouldn't work yeah. Presumably you only put it there right before conversion? |
Yes, that's correct. Now that I know the proper workflow I won't be doing that again. Close or leave open this ticket at your discretion.
Close, but not quite. |
FYI I get a
The conversion was successful, however. This time it's all in the CS project. I didn't try it in the VB project, but I imagine it wouldn't even get that far due to the previous error (whose output is shown in the Output window). |
Ah yes, I'll leave this ticket open to track the error message box, should be an easy fix. Was the original workflow you tried your ideal one, or just how you thought the tool might work? |
The latter.
The former.
Hm, not that I can think of.
Ah, I see. I wasn't aware that anything external to the file being processed was evaluated. I guess I was thinking of it in the context of yours or Telerik's online converter—standalone. |
Steps to reproduce
Attempt to convert from C# -> VB
Error message shown
Code conversion failed with 1 error
Please report issues at https://github.com/icsharpcode/CodeConverter/issues
Details
The text was updated successfully, but these errors were encountered: