File tree 2 files changed +20
-12
lines changed
src/SourceBuild/content/.devcontainer
2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 8
8
## ## ######## ## ## ######## ## ## ## #### ######
9
9
-->
10
10
11
- This Codespace can help you debug the source build of .NET. In case you have run this from a
12
- ` dotnet/sdk ` PR branch, it will contain the VMR (` dotnet/dotnet ` ) checked out into
13
- ` /workspaces/dotnet ` with the PR changes pulled into it. You can then attempt to source-build
14
- the VMR which is what the VMR leg in the sdk PR build doing. This build takes about 45
15
- minutes and, after completion, produces an archived .NET SDK located in
11
+ This Codespace allows you to debug or make changes to the .NET SDK product . In case you ran this
12
+ from a ` dotnet/sdk ` PR branch, the directory tree contains the VMR (` dotnet/dotnet ` ) checked out into
13
+ ` /workspaces/dotnet ` with the PR changes pulled into it. Building the VMR from the codespace mimics
14
+ what the VMR pipelines in an sdk PR are doing. The build takes about 45-75 minutes
15
+ (depending on the machine spec and target OS) and, after completion, produces an archived .NET SDK located in
16
16
` /workspaces/dotnet/artifacts/assets/Release ` .
17
17
18
18
## Build the SDK
19
19
20
- To build the VMR , run following:
20
+ To build the repository , run one of the following:
21
21
``` bash
22
- cd /workspaces/dotnet
23
- ./build.sh --online
22
+ # Microsoft based build
23
+ ./build.sh
24
+ ```
25
+ or
26
+
27
+ ``` bash
28
+ # Building from source only
29
+ ./prep-source-build.sh && ./build.sh -sb
24
30
```
25
31
26
32
> Please note that, at this time, the build modifies some of the checked-in sources so it might
Original file line number Diff line number Diff line change 8
8
## ## ######## ## ## ######## ## ## ## #### ######
9
9
-->
10
10
11
- This Codespace can help you debug the source build of .NET. This build takes about
12
- 45 minutes and, after completion, produces an archived .NET SDK located in
13
- ` /workspaces/dotnet/artifacts/assets/Release ` . In case you selected the ` prebuilt-sdk `
14
- Codespace, the built-from-source SDK will already be there.
11
+ This Codespace allows you to debug or make changes to the .NET SDK product. The build takes about
12
+ 45 up to 75 minutes (depending on the machine and OS) and, after completion, produces an archived
13
+ .NET SDK located in ` /workspaces/dotnet/artifacts/assets/Release ` .
14
+
15
+ In case you selected the prebuilt-sdk Codespace configuration (which is only useful when building
16
+ from source), the built-from-source SDK will already be there.
15
17
16
18
## Build the SDK
17
19
You can’t perform that action at this time.
0 commit comments