VSCode extension for acquiring .NET Core Tooling
Перейти к файлу
Sarah Oslund e62b0af47d Updating SDK extension tests 2021-02-11 15:18:33 -08:00
.devcontainer Add ability to open repo in a remote container. 2019-05-08 22:31:44 -07:00
.vscode Adding opt out for telemetry, removing PII from telemetry events 2020-01-03 10:06:29 -08:00
Documentation PR feedback 2020-11-18 15:23:03 -08:00
images Updating branding, adding dev spec 2020-02-06 16:34:05 -08:00
sample Refactoring commands into separate extensions 2021-02-11 14:37:38 -08:00
vscode-dotnet-runtime-extension Updating SDK extension tests 2021-02-11 15:18:33 -08:00
vscode-dotnet-runtime-library Refactoring commands into separate extensions 2021-02-11 14:37:38 -08:00
vscode-dotnet-sdk-extension Updating SDK extension tests 2021-02-11 15:18:33 -08:00
.gitattributes More renames/organizations 2019-05-07 15:43:09 -07:00
.gitignore Bundling install scripts on build 2020-05-11 15:24:18 -07:00
.vscodeignore Moving .vscodeignore to top level 2021-02-04 09:32:09 -08:00
CHANGELOG.md Bumping extension version to 1.0 2020-11-19 14:05:07 -08:00
CODE-OF-CONDUCT.md Link Code of Conduct 2020-04-02 14:29:24 -07:00
CODE_OWNERS.txt Refactoring extension publishing 2021-02-03 14:07:17 -08:00
CONTRIBUTING.md Update README.md and add additional documentation. 2019-08-21 14:28:49 -07:00
LICENSE.txt Add Microsoft to copyright in LICENSE.txt 2019-08-22 15:58:28 -07:00
README.md Bumping extension version to 1.0 2020-11-19 14:05:07 -08:00
THIRD-PARTY-NOTICES.txt Update README.md and add additional documentation. 2019-08-21 14:28:49 -07:00
azure-pipelines.yml Updating CI to publish SDK extension: 2021-02-11 14:37:50 -08:00
build.cmd Lay build groundwork out. 2019-05-07 19:54:37 -07:00
build.ps1 Adding SDK extension plumbing 2021-02-09 09:37:28 -08:00
build.sh Adding SDK extension plumbing 2021-02-09 09:37:28 -08:00
package.json Refactoring extension publishing 2021-02-03 14:07:17 -08:00
test.cmd Adding testing scripts 2019-11-05 09:48:28 -08:00
test.ps1 Adding SDK extension plumbing 2021-02-09 09:37:28 -08:00
test.sh Adding SDK extension plumbing 2021-02-09 09:37:28 -08:00
tslint.json Adding no-any TSLinting rule, allowing any in testing files 2020-05-05 08:12:34 -07:00
vscode-dotnet-runtime.code-workspace Adding SDK extension plumbing 2021-02-09 09:37:28 -08:00

README.md

.NET Install Tool for Extension Authors

Version Installs

This extension allows acquisition of the .NET Core runtime specifically for Visual Studio Code extension authors. This tool is intended to be leveraged in extensions that are written in .NET and require .NET to boot pieces of the extension (e.g. a language server). The extension is not intended to be used directly by users to install .NET for development.

Goals: Acquiring .NET Core for extensions

Extension authors do not know if the .NET core runtime is installed on the target machine. Existing solutions have a number of challenges:

  1. Duplication of .NET Core runtimes and slow updates: Currently, each extension is acquiring its own copy of .NET core at ~30mb each.
  2. Clean up: When extensions install .NET Core in a non-VSCode folder location it is likely to be left behind.
  3. Servicing and floating versions: It is difficult to ensure that extensions will use the latest releases, particuarly without re-shipping.
  4. Corrupted installations: Corrupted installations can arise when VS Code is shut down mid-download or unzip.
  5. Network security policies: Alternative installation methods may result in errors due to blocking from network security policies.
  6. Locked down environments: Some developers are unable to freely install software, requiring the ability to install extensions manually via a VSIX.
  7. Missing dependencies: Users may run into situations where .NET Core cannot run as-is, requiring the installation of missing pieces.

This extension attempts to solve the above issues.

Contributing to Repository

Looking for something to work on? The list of up-for-grabs issues is a great place to start.

Please read the following documents to get started.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

Building

Requirements

  • Node.js + npm
  • VSCode

Running the sample

  1. Run the build script at the root of the repo (build.sh or build.cmd).
  2. Open the repo's workspace in VSCode
  3. Run the Run Sample Extension configuration in VSCode
  4. In the launched experimental instance open the command pallete and run the Sample: Run a dynamically acquired .NET Core Hello World App.

.NET Foundation

.NET Core for VSCode is a .NET Foundation project.

See the .NET home repo to find other .NET-related projects.

License

.NET Core (including this repo) is licensed under the MIT license.