-
Notifications
You must be signed in to change notification settings - Fork 527
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
Docker extension not recognising c# extension version when generating .NET docker files #2867
Comments
Can you check the extensions tab and see what version of the C# extension you have? |
Im facing the same issue, version is 1.23.11 |
Strange. Does the issue persist if you restart VSCode @pecigonzalo? Are you using a remote session? |
Yes it does. I'm indeed using a remote session to WSL2, I suspect that might be the culprit, maybe some bug in checking the remote/local version? I manually edited the file as a test, inverted the > check and it "works" now. |
When I list my extensions with versions using I am not using a remote desktop or WSL working directly on a mac and have reproduced this on two separate mac machines. |
@pecigonzalo As in, this check? I'd be very interested in what VSCode is giving for |
🤦♂️ I realized what's wrong. That |
Yep, exactly that one. It was in the minified JS so I just inverted the symbol, although I could have replaced with just |
Yeah, that sounds about right. 🎉 Nice find. |
@pecigonzalo @dpwdec As a workaround, you can install C# extension 1.23.9 specifically, add the Dockerfiles, and then update back to 1.23.11+. I'm going to get a fix out ASAP. |
Ok, I just released an update to the Docker extension a few seconds ago. This issue is now fixed in 1.12.1. Sorry for the headache @dpwdec, @pecigonzalo, and thanks for helping me figure it out! |
No worries! Thank you for fixing it so fast. I'll install it first thing
tomorrow.
…On Mon, Apr 12, 2021, 10:29 PM Brandon Waterloo [MSFT] < ***@***.***> wrote:
Ok, I just released an update to the Docker extension a few seconds ago.
This issue is now fixed in 1.12.1. Sorry for the headache @dpwdec
<https://github.com/dpwdec>, @pecigonzalo <https://github.com/pecigonzalo>,
and thanks for helping me figure it out!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2867 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLS7CMQJNXPVQIBEU3L42DTINJ2HANCNFSM42ZNAZ3Q>
.
|
@bwateratmsft Yeah, it's working for me now as well. Thank you so much for fixing it so promptly. |
When I used the
Add Docker Files to Workspace...
utility I get an error message that says:I assume this is referring to the Microsoft C# extension for vscode. I have restarted my computer and vscode. I believe both the Docker and C# extensions are installed and updated to their most recent version however I still get this error.
Please let me know if you need me to provide you with further information.
The text was updated successfully, but these errors were encountered: