Skip to content
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

vscode failed to download and config manually failed #1313

Closed
liu0fanyi opened this issue Aug 23, 2023 · 5 comments
Closed

vscode failed to download and config manually failed #1313

liu0fanyi opened this issue Aug 23, 2023 · 5 comments

Comments

@liu0fanyi
Copy link

Describe the bug

Failed to download .NET 6.0.21:
download from web and dotnet --info

...
.NET SDKs installed:
  6.0.121 [C:\Program Files\dotnet\sdk]
  7.0.110 [C:\Program Files\dotnet\sdk]
...

and then set

    "dotnetAcquisitionExtension.existingDotnetPath": [
        {"extensionId": "secretlab.yarn-spinner", "path": "C:\\Program Files\\dotnet\\dotnet.exe"},
    ],

not work,still download .net and failed

Please attach log file(s) here if you have any:

❗ Privacy Alert! The contents in our log files may contain personal data. Prior to posting to GitHub, please remove any personal data which should not be publicly viewable. https://privacy.microsoft.com/en-US/privacystatement

If you came here from VS Code, the log file location should be copied to the clipboard.

Other Info:

Errors the extension may have encountered have likely been added to your terminal or VS Code windows. Please paste it/them here and describe what happened and the problem you are facing.

Reproduction Steps

Expected behavior

Exceptions & Errors (if any)

Further technical details

  • Your VSCode Version
    1.81.1
  • The version of the extension that's on your machine
    v1.7.0
  • Your operating system details
    win10
@baronfel
Copy link
Member

Are you sure that no other extensions you have installed use this extension? You'd need to make sure all of them have config entries for remapping the path to dotnet.

@liu0fanyi
Copy link
Author

Are you sure that no other extensions you have installed use this extension? You'd need to make sure all of them have config entries for remapping the path to dotnet.

found another one csharp and config

    "dotnetAcquisitionExtension.existingDotnetPath": [
        {"extensionId": "ms-dotnettools.csharp", "path": "C:\\Program Files\\dotnet\\dotnet.exe"},
        {"extensionId": "secretlab.yarn-spinner", "path": "C:\\Program Files\\dotnet\\dotnet.exe"}
    ],

still not work ,each time i open .yarn file from plugin yarn-spinner.

start

Downloading the .NET Runtime. Downloading .NET version(s) 6.0.21 .......................................................................................................................................................................................................................................

@liu0fanyi
Copy link
Author

And I have tried c# file .cs
It works, I can't understand...

Downloading the .NET Runtime.
Using configured .NET path: C:\Program Files\dotnet\dotnet.exe

@liu0fanyi
Copy link
Author

YarnSpinnerTool/VSCodeExtension#42 (comment)

found Issue here, id in yarn-spinner plugin wrong

@baronfel
Copy link
Member

Glad to hear it! We're going to add the extension id of the requesting extension to the logs in the future to make this easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants