-
Notifications
You must be signed in to change notification settings - Fork 685
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
Is there a way to get rid of .NET Install Tool for Extension Author? #6065
Comments
C# extension takes an external dependency on the .NET Install Tool instead of downloading it in house. The acquisition tool has features coming that optimizes the need for an SDK download. If there are particular feature requests to optimize the need for a download, we can certainly request it be added to the roadmap for that extension. @nagilson fyi |
#6004 (comment) explains how to use an existing dotnet install. Im not sure if vscode has the option for extensions to remove their extension dependencies but if you use this setting the .NET extension will not really do anything. |
@nagilson, being that the case, wouldn't it make more sense to keep the dependency optional and to not install the additional extension unless the user opt to do so? Considering that one could already have one or more sdks installed, it would prevent another sdk download in addition to the extension itself (unless the user aware of this behaviour, prior to downloading the extension had it configured as stated on the link). |
We are adding functionality to the extension to auto accept an existing SDK if one matches what is requested or needed to run, so that solves that issue. I share in your sentiment though I'm not aware of any functionality VS Code as a platform provides to have an optional dependency. I'd expect that's something we can investigate though! |
Maybe downloading a new dotnet SDK should be kept only within its own extension. For users who already have one or who don't like to install automatically. A bundled extension only brings annoyance. If one wants that functionality, he can just install that extension, rather than ignore the existence of the extension if one doesn't want that. |
The Python Extension installs PyLance Extension as a dependency, but it is still possible to uninstall it later if you prefer to use the language server from the first one. It is not exactly optional in the strict sense that we are talking about, which I guess it would be preferrable to avoid the extra downloads, but it has the possibility of keeping one extension installed instead of two.
Do you mean to the C# Extension or to the .NET Install Tool Extension? |
Closing via #6074 |
@dandev486 the install tool extension ( though it will actually be a different extension.) Thanks. |
I need unistall it |
@arkalyanms Why this issue has been closed? |
If you use the C# extension then you do in fact need .NET to run. If you want to remove it, try removing it, and vs code will tell you which other extensions depend on it. Remove those as well. |
After updating to 2.0. I have to install .NET Install Tool for Extension Author. I guess it's used to download a dotnet sdk. But I have had one installed with package manager. Why do I still need to download one? and Is there way to get rid of this extension? It can't be uninstalled because C# extension 2.0 depends on it.
The text was updated successfully, but these errors were encountered: