Skip to content

Commit daf0615

Browse files
committed
Merge remote-tracking branch 'origin/main' into marcpopMSFT-portpackageschange
2 parents 2d82611 + 70479ed commit daf0615

File tree

21 files changed

+366
-379
lines changed

21 files changed

+366
-379
lines changed

.devcontainer/vmr/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,25 @@
88
## ## ######## ## ## ######## ## ## ## #### ######
99
-->
1010

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
1616
`/workspaces/dotnet/artifacts/assets/Release`.
1717

1818
## Build the SDK
1919

20-
To build the VMR, run following:
20+
To build the repository, run one of the following:
2121
```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
2430
```
2531

2632
> Please note that, at this time, the build modifies some of the checked-in sources so it might
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Inter-branch merge workflow
2+
on:
3+
push:
4+
branches:
5+
- release/**
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
Merge:
13+
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main

documentation/project-docs/developer-guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ Run the following commands from the root of the repository to setup the test env
113113
source ./eng/dogfood.sh
114114
```
115115

116+
NOTE: If you are running on MacOS you will need to use a `bash` shell rather than the default `zsh`. You can either change your default shell or type `bash` before executing the above command.
117+
116118
Ensure the `dotnet` being used is from the artifacts directory:
117119

118120
```

eng/Version.Details.xml

Lines changed: 207 additions & 207 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 82 additions & 81 deletions
Large diffs are not rendered by default.

src/Assets/TestProjects/KitchenSink/TestApp/TestApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<TieredCompilationQuickJitForLoops>true</TieredCompilationQuickJitForLoops>
4040
<TieredPGO>true</TieredPGO>
4141
<StartupHookSupport>false</StartupHookSupport>
42+
<StackTraceSupport>false</StackTraceSupport>
4243
<EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
4344
<AutoreleasePoolSupport>false</AutoreleasePoolSupport>
4445
<ThreadPoolMinThreads>2</ThreadPoolMinThreads>

src/Cli/dotnet/Installer/Windows/Security/Signature.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ internal static class Signature
3030
internal static unsafe int HasMicrosoftTrustedRoot(string path)
3131
{
3232
// Create an X509Certificate2 instance so we can access the certificate context and create a chain context.
33+
#pragma warning disable SYSLIB0057 // can't use X509CertificateLoader here since it tries to parse the file as a certificate
3334
using X509Certificate2 certificate = new(path);
35+
#pragma warning restore SYSLIB0057
3436

3537
// We don't use X509Chain because it doesn't support verifying the specific policy and because we defer
3638
// that to the WinTrust provider as it performs timestamp and revocation checks.

src/SourceBuild/content/.devcontainer/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
## ## ######## ## ## ######## ## ## ## #### ######
99
-->
1010

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.
1517

1618
## Build the SDK
1719

src/SourceBuild/content/eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<ProductDependencies>
33
</ProductDependencies>
44
<ToolsetDependencies>
5-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24311.1">
5+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24352.2">
66
<Uri>https://github.com/dotnet/arcade</Uri>
7-
<Sha>11f7d1ae1a87b5d8c469fa00f22a184d2f5d1319</Sha>
7+
<Sha>4a7d983f833d6b86365ea1b2b4d6ee72fbdbf944</Sha>
88
</Dependency>
99
</ToolsetDependencies>
1010
</Dependencies>

src/SourceBuild/content/eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
of a .NET major or minor release, prebuilts may be needed. When the release is mature, prebuilts
2424
are not necessary, and this property is removed from the file.
2525
-->
26-
<PrivateSourceBuiltSdkVersion>9.0.100-preview.6.24312.1</PrivateSourceBuiltSdkVersion>
27-
<PrivateSourceBuiltArtifactsVersion>9.0.100-preview.6.24312.1</PrivateSourceBuiltArtifactsVersion>
26+
<PrivateSourceBuiltSdkVersion>9.0.100-preview.7.24357.1</PrivateSourceBuiltSdkVersion>
27+
<PrivateSourceBuiltArtifactsVersion>9.0.100-preview.7.24357.1</PrivateSourceBuiltArtifactsVersion>
2828
<!-- command-line-api dependencies -->
2929
<SystemCommandLineVersion>2.0.0-beta4.24126.1</SystemCommandLineVersion>
3030
<!-- msbuild dependencies -->

0 commit comments

Comments
 (0)