Skip to content

Commit 931d2a7

Browse files
committed
WIP
1 parent fa1a35b commit 931d2a7

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

Documentation/eliminating-pre-builts.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -137,30 +137,15 @@ dependency causing the `System.Text.Json` pre-built.
137137

138138
## Allowed exceptions
139139

140-
The list of permitted pre-builts can be found in the
141-
`./eng/SourceBuildPrebuiltBaseline.xml` file in the root of the repository. It
142-
contains package information of pre-builts that for one reason or another are
143-
allowed in the source-build of the repository.
140+
> **Note**: The information in this section applies to .NET versions **prior to 10.0**.
141+
> In .NET 10.0 with the [Unified Build project](https://github.com/dotnet/dotnet/tree/main/docs), prebuilt detection was removed from individual repositories.
142+
> Prebuilt detection is now only performed during full source builds within the VMR.
143+
> For .NET 10.0+ source-build instructions, see the [VMR source-build documentation](https://github.com/dotnet/dotnet/blob/main/README.md#building).
144144
145-
Any new addition to the pre-built exception list must be signed-off by a member
146-
of the `@dotnet/source-build` team.
145+
The list of permitted pre-builts can be found in the `./eng/SourceBuildPrebuiltBaseline.xml` file in the root of the repository.
146+
It contains package information of pre-builts that for one reason or another are allowed in the source-build of the repository.
147147

148-
A common example of a exception that is present in several .NET repositories is
149-
an [_intermediate
150-
package_](https://github.com/dotnet/source-build/blob/main/Documentation/planning/arcade-powered-source-build/intermediate-nupkg.md).
151-
When a repository utilizes an intermediate package, it will be excluded from
152-
pre-built detection with the following declaration in the above-mentioned file:
153-
154-
```xml
155-
<UsageData>
156-
<IgnorePatterns>
157-
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*" />
158-
</IgnorePatterns>
159-
</UsageData>
160-
```
161-
162-
With this ignore pattern in place, pre-built detection will not mark any .NET
163-
intermediate package as long as it conforms to the naming in the pattern.
148+
Any new addition to the pre-built exception list must be signed-off by a member of the `@dotnet/source-build` team.
164149

165150
In cases where a specific package needs to be excluded from pre-built detection
166151
(for example, to not block the introduction of changes until a source-build

0 commit comments

Comments
 (0)