You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvements to CoreCLR Building, Debugging, and Testing Documentation (dotnet#75569)
* Quality Week 2022: The First Step to a Better Documentation.
* Removed the Markdown Extension's additional development tags.
* Removed redundant stuff.
* Removed redundant stuff.
* Removed guide testing versions to avoid confusion that they would be the only supported versions.
* Addressed some Powershell comments, added a pointer to a yaml with links to other .NET sibling repos, and did a couple mini-corrections. Still got a few comments to address...
* Fixed a ';:' with Powershell's syntax.
* Addressed review comments: Redaction improvements, localization url's, improved code snippets, added info on individual subsets building configurations, changed COMPlus for DOTNET, and other misc improvements.
* Addressed remaining comments.
* Addressed some last comments regarding corerun, and the subset flags in the build scripts.
Co-authored-by: Ivan Diaz <[email protected]>
*[Reporting security issues and security bugs](#reporting-security-issues-and-security-bugs)
11
+
*[Filing issues](#filing-issues)
12
+
*[Useful Links](#useful-links)
13
+
*[.NET Foundation](#net-foundation)
14
+
*[License](#license)
15
+
7
16
This repo contains the code to build the .NET runtime, libraries and shared host (`dotnet`) installers for
8
17
all supported platforms, as well as the sources to .NET runtime and libraries.
9
18
10
19
## What is .NET?
11
20
12
-
Official Starting Page: https://dotnet.microsoft.com
21
+
Official Starting Page: <https://dotnet.microsoft.com>
13
22
14
23
*[How to use .NET](https://docs.microsoft.com/dotnet/core/get-started) (with VS, VS Code, command-line CLI)
15
24
*[Install official releases](https://dotnet.microsoft.com/download)
@@ -25,23 +34,20 @@ Official Starting Page: https://dotnet.microsoft.com
25
34
We welcome contributions! Many people all over the world have helped make this project better.
26
35
27
36
*[Contributing](CONTRIBUTING.md) explains what kinds of contributions we welcome
28
-
-[Workflow Instructions](docs/workflow/README.md) explains how to build and test
37
+
*[Workflow Instructions](docs/workflow/README.md) explains how to build and test
29
38
*[Get Up and Running on .NET Core](docs/project/dogfooding.md) explains how to get nightly builds of the runtime and its libraries to test them in your own projects.
30
39
31
40
## Reporting security issues and security bugs
32
41
33
-
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <[email protected]>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue).
42
+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <[email protected]>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue). You can also find these instructions in this repo's [Security doc](SECURITY.md).
34
43
35
44
Also see info about related [Microsoft .NET Core and ASP.NET Core Bug Bounty Program](https://www.microsoft.com/msrc/bounty-dot-net-core).
36
45
37
46
## Filing issues
38
47
39
48
This repo should contain issues that are tied to the runtime, the class libraries and frameworks, the installation of the `dotnet` binary (sometimes known as the `muxer`) and installation of the .NET runtime and libraries.
40
49
41
-
For other issues, please use the following repos:
42
-
43
-
- For overall .NET SDK issues, file in the [dotnet/sdk](https://github.com/dotnet/sdk) repo
44
-
- For ASP.NET issues, file in the [dotnet/aspnetcore](https://github.com/dotnet/aspnetcore) repo.
50
+
For other issues, please file them to their appropriate sibling repos. Their respective links are described in the [config issue template doc](/.github/ISSUE_TEMPLATE/config.yml).
45
51
46
52
## Useful Links
47
53
@@ -57,8 +63,8 @@ For other issues, please use the following repos:
57
63
58
64
There are many .NET related projects on GitHub.
59
65
60
-
-[.NET home repo](https://github.com/Microsoft/dotnet) - links to 100s of .NET projects, from Microsoft and the community.
61
-
-[ASP.NET Core home](https://docs.microsoft.com/aspnet/core) - the best place to start learning about ASP.NET Core.
66
+
*[.NET home repo](https://github.com/Microsoft/dotnet) - links to 100s of .NET projects, from Microsoft and the community.
67
+
*[ASP.NET Core home](https://docs.microsoft.com/aspnet/core) - the best place to start learning about ASP.NET Core.
62
68
63
69
This project has adopted the code of conduct defined by the [Contributor Covenant](https://contributor-covenant.org) to clarify expected behavior in our community. For more information, see the [.NET Foundation Code of Conduct](https://www.dotnetfoundation.org/code-of-conduct).
Codespaces allows you to develop in a Docker container running in the cloud. You can use an in-browser version of VS Code or the full VS Code application with the [GitHub Codespaces VS Code Extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces). This means you don't need to install dotnet/runtime's prerequisites on your current machine in order to develop in dotnet/runtime.
*[Testing out your Changes](#testing-out-your-changes)
6
+
7
+
Codespaces allows you to develop in a Docker container running in the cloud. You can use an in-browser version of VS Code or the full VS Code application with the [GitHub Codespaces VS Code Extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces). This means you don't need to install any prerequisites on your current machine in order to develop in _dotnet/runtime_.
3
8
4
9
## Create a Codespace
5
10
6
-
dotnet/runtime runs a nightly GitHub Action to build the latest code in the repo. This allows you to immediately start developing and testing after creating a codespace without having to build the whole repo. When the machine is created, it will have built the repo using the code as of 6 AM UTC that morning.
11
+
The _dotnet/runtime_ repo runs a nightly GitHub Action to build the latest code in it. This allows you to immediately start developing and testing after creating a Codespace without having to build the whole repo. When the machine is created, it will have built the repo using the code as of 6 AM UTC of that morning.
7
12
8
-
1. From https://github.com/dotnet/runtime, drop-down the `Code` button and select the `Codespaces` tab.
13
+
1. From this [repository's root](https://github.com/dotnet/runtime), drop-down the _Code_ button and select the _Codespaces_ tab.
- For `libraries` work, pick `.devcontainer/libraries/devcontainer.json`.
21
-
- For `WASM` work, pick `.devcontainer/wasm/devcontainer.json`.
25
+
* For `libraries` work, pick `.devcontainer/libraries/devcontainer.json`.
26
+
* For `WASM` work, pick `.devcontainer/wasm/devcontainer.json`.
22
27
23
28
4. Select the Machine type. For `dotnet/runtime`, it is recommended to select at least a `4-core` machine. You can also verify that a `Prebuild` is ready.
*If these instructions are out of date, see https://docs.github.com/codespaces/developing-in-codespaces/creating-a-codespace#creating-a-codespace for instructions on how to create a new codespace.*
32
+
_If these instructions are out of date, see <https://docs.github.com/codespaces/developing-in-codespaces/creating-a-codespace#creating-a-codespace> for instructions on how to create a new Codespace._
The Codespaces configuration is spread across the following places:
33
37
34
-
1. The [.devcontainer](../../.devcontainer) folder contains folders for each "development scenario":
35
-
-`libraries` - Used by developers working in `src/libraries`
36
-
-`wasm` - Used by developers working on the browser-wasm workload
37
-
- The `scripts` folder contains any scripts that are executed during the creation of the codespace. This has the build command that builds the entire repo for prebuilds.
38
-
2. Each development scenario folder contains:
39
-
-`devcontainer.json` file configures the codespace and has VS Code / Environment settings
40
-
- The Dockerfile used to create the Docker image
41
-
3. The GitHub Action can be configured by following the instructions at https://docs.github.com/codespaces/prebuilding-your-codespaces/configuring-prebuilds.
38
+
1. The [.devcontainer](/.devcontainer) folder contains subfolders for each development scenario:
39
+
*_Libraries_: Used by developers working in `src/libraries`.
40
+
*_Wasm_: Used by developers working on the _browser-wasm_ workload.
41
+
*_Scripts_: Contains any scripts that are executed during the creation of the codespace. This has the build command that builds the entire repo for prebuilds.
42
+
2. Each development scenario folder contains the following files:
43
+
* The `devcontainer.json` file that configures the codespace and has VS Code / Environment settings.
44
+
* The _Dockerfile_ used to create the Docker image
45
+
3. The GitHub Action can be configured by following the instructions at <https://docs.github.com/codespaces/prebuilding-your-codespaces/configuring-prebuilds>.
46
+
47
+
To test out changes to the `.devcontainer` files, you can follow the process in the [Applying Changes to your Configuration](https://docs.github.com/codespaces/customizing-your-codespace/configuring-codespaces-for-your-project#applying-changes-to-your-configuration) docs. This allows you to rebuild the Codespace privately before creating a PR.
42
48
43
-
To test out changes to the `.devcontainer` files, you can follow the process in [Applying changes to your configuration](https://docs.github.com/codespaces/customizing-your-codespace/configuring-codespaces-for-your-project#applying-changes-to-your-configuration) docs. This allows you to rebuild the Codespace privately before creating a PR.
49
+
## Testing out your Changes
44
50
45
-
To test out your changes you can run the [Codespaces Prebuilds Action](https://github.com/dotnet/runtime/actions/workflows/codespaces/create_codespaces_prebuilds) in your fork against a branch with your changes.
51
+
To test out your changes you can run the [Codespaces Prebuilds Action](https://github.com/dotnet/runtime/actions/workflows/codespaces/create_codespaces_prebuilds) in your fork against a branch with your changes.
0 commit comments