-
Notifications
You must be signed in to change notification settings - Fork 16
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
System.ArgumentException: '' is not a valid version string. (Parameter 'value') #28
Comments
Can you try setting the environment variable If necessary, you can explicitly set it and run the language server in smoke-test mode:
That should log the full output from attempting to run |
I've tried the second option, but no log file is created. I've also tried making it write to The first option requires rebuilding the container I think, should I go ahead and try that? |
Yeah - if we can’t get any output it’s making me wonder whether it’s having some other problem launching the dotnet host to discover its version (literally the command |
(according to the error message, |
I've done a rebuild with the env var set, but no log file is created. "containerEnv": {
"MSBUILD_PROJECT_TOOLS_VERBOSE_LOGGING": "1"
}, On the first launch after the rebuild, the extension started fine. I then stopped the container and restarted it through VSCode, this time the extension hanged at |
I’ll try to set up the same dev container tomorrow and see what I can find by poking around :) |
Am trying this out now. For what it's worth, I can't get the container to build for Will let you know what I find. |
Published v0.4.7 of the extension (may take a little while to show up in the gallery). If you then go into your dev container and run:
You should see more information about what's going wrong with the discovery process (turns out a previous refactoring effort meant that the logger used during discovery was no longer being populated). |
I rebuilt the container and had the original error again. Then when running that command, the first attempt succeeds, but next attempts all fail.
|
Just had another attempt succeed, without doing anything after the failed attempts.
|
I've just caught up with tintoy/msbuild-project-tools-vscode#105 and gave v0.4.9 a try. The bug seems to be fixed, I cannot reproduce it any more :) |
Good to hear - thanks for reporting (and being willing to try it out)! |
The extension suddenly fails to start in my devcontainer. I'm running VSCode 1.70.2 and extension version 0.4.6
I can retrieve the version in a terminal. Not sure how to properly debug this.
Dockerfile:
devcontainer.json
The text was updated successfully, but these errors were encountered: