VSCode extension for acquiring .NET Core Tooling
Перейти к файлу
Noah Gilson 8dbcff6733
Leverage Managed Identity Publish (#1942)
* add publish task

* move template out of steps and into jobs

* get rid of pool

* dont pass 1es pool

* add depends on chain

* use vsce latest

* run package on publi

* add approval step:

* vsixs are stored in the root, so don't check in the extension folder

* Switch to MI instead of a PAT

* Fix ps1 issue

* Only deploy on internal

* Use pool vs vmimage

* Try to fix pool condition

* Use a different pool

* Condition the name of the build based on OS

Why is windows the bomb emoji and not the windows emoji?
And why did I do this:

The windows build goes last because its in alphabetical order based on the behavior of how devops works. This is bad because it should go first and makes the other steps take longer as they depend on only the windows task. The bomb emoji is one of the first emojis thats not an emoticon before the penguin emoji so I picked that one..

* It's pretty silly you cant define a variable in a template but here we are

* Maybe it has to be in plaintext

* The deployment step is not necessary

* wait for wait job

* Set the emoji

* Move windows to the top

* Set 'use 1es pool' to true

* Switch to a different ordering so windows runs first, then linux

* try to fix bug where version is not passed and publish args is wrong

* Try to pass var into another job since we cant have a template in the jobs

* Revert "Try to pass var into another job since we cant have a template in the jobs"

This reverts commit 7bdf2dfec9.

* Try to condition the yamls omewhere else

* is yaml failing

* Revert "is yaml failing"

This reverts commit b014dd042f.

* Revert "Try to condition the yamls omewhere else"

This reverts commit 7ccb36f01c.

* Revert "try to fix bug where version is not passed and publish args is wrong"

This reverts commit 592349be71.

* Get version again

We cant return a value from a template
We cant make a template callable with jobs in another job
We cant pass a variable from one job to another if its a job in a job
We cant do so many things in yaml

* yaml indentation

* Don't skip checking out the repo, we kinda need that to get the version
2024-10-15 11:45:42 -07:00
.config 🦅 Enable TSA Per Requirement ✈️ (#1975) 2024-10-07 13:19:08 -07:00
.github/ISSUE_TEMPLATE Clean up text for issue templates 2023-11-22 16:45:52 -08:00
.vscode Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
Documentation Permit Installing .NET via a package.json file (#1976) 2024-10-04 09:22:04 -07:00
images Updating branding, adding dev spec 2020-02-06 16:34:05 -08:00
msbuild ✒️ Enable ESRP Signing on the .VSIX (#1885) 2024-08-12 11:04:24 -07:00
packages ✒️ Enable ESRP Signing on the .VSIX (#1885) 2024-08-12 11:04:24 -07:00
pipeline-templates Leverage Managed Identity Publish (#1942) 2024-10-15 11:45:42 -07:00
sample 2.2.1 Branding & Dependencies (#1983) 2024-10-15 11:43:22 -07:00
signing ✒️ Enable ESRP Signing on the .VSIX (#1885) 2024-08-12 11:04:24 -07:00
vscode-dotnet-runtime-extension 2.2.1 Branding & Dependencies (#1983) 2024-10-15 11:43:22 -07:00
vscode-dotnet-runtime-library 2.2.1 Branding & Dependencies (#1983) 2024-10-15 11:43:22 -07:00
vscode-dotnet-sdk-extension 2.2.1 Branding & Dependencies (#1983) 2024-10-15 11:43:22 -07:00
.eslintrc.js Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
.gitattributes More renames/organizations 2019-05-07 15:43:09 -07:00
.gitignore Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
.npmrc Remediate npm configuration issues 2022-07-14 15:34:55 -07:00
.vscodeignore Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
1es-azure-pipeline.yml Leverage Managed Identity Publish (#1942) 2024-10-15 11:45:42 -07:00
1pr-azure-pipeline.yml Leverage Managed Identity Publish (#1942) 2024-10-15 11:45:42 -07:00
CODE-OF-CONDUCT.md Link Code of Conduct 2020-04-02 14:29:24 -07:00
CODE_OWNERS.txt Update code owners to represent the team instead of someone who no longer works on the ext 2023-03-20 14:37:16 -07: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
PoliCheckExclusions.xml Enable Policheck 🌎 per Compliance to Scan for Offensive Terms (#1811) 2024-05-28 09:38:53 -07:00
README.md Renaming SDK extension to .NET Education Bundle SDK Install Tool 2021-02-17 15:47:34 -08:00
SUPPORT.md Create SUPPORT.md 2023-10-03 07:55:49 -07:00
THIRD-PARTY-NOTICES.txt Clean Up Dependency Tree & Update 3rd Party Notice 🏛️ (#1842) 2024-06-18 14:25:35 -07:00
build.cmd Lay build groundwork out. 2019-05-07 19:54:37 -07:00
build.ps1 ✒️ Enable ESRP Signing on the .VSIX (#1885) 2024-08-12 11:04:24 -07:00
build.sh Remove 'nornt' option to skip building runtime' 2023-08-14 09:40:19 -07:00
dependency-verifier.py Merge remote-tracking branch 'upstream/main' into nagilson-global-sdk-install 2023-10-02 17:00:54 -07:00
global.json ✒️ Enable ESRP Signing on the .VSIX (#1885) 2024-08-12 11:04:24 -07:00
mock-webpack.ps1 webpack install scripts for library code 2024-01-19 16:49:38 -08:00
mock-webpack.sh Dont create install script folder as it should be managed by the extension 2024-01-23 11:08:40 -08:00
nuget.config ✒️ Enable ESRP Signing on the .VSIX (#1885) 2024-08-12 11:04:24 -07:00
package-lock.json 2.2.1 Branding & Dependencies (#1983) 2024-10-15 11:43:22 -07:00
package.json Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
test.cmd Adding testing scripts 2019-11-05 09:48:28 -08:00
test.ps1 Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
test.sh Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
tsconfig.eslint.json Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
vscode-dotnet-runtime.code-workspace Add new API `dotnet.findPath` to find the .NET host to use if one already exists that meets a requirement. (#1954) 2024-09-30 22:31:09 +00:00
yarn.lock 2.2.1 Branding & Dependencies (#1983) 2024-10-15 11:43:22 -07:00

README.md

.NET Runtime and SDK Installation Tools

This repo contains two VS Code extensions, vscode-dotnet-runtime and vscode-dotnet-sdk. The vscode-dotnet-runtime can be used to install the .NET runtime and is meant to be leveraged by other extensions which depend on the runtime. The vscode-dotnet-sdk is a special install for internal features and not designed to be used by other extensions because it will conflict with existing SDK installations on the users machine.

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.