Fix build.cmd -s clr.aot+libs (#82019)
authorAustin Wise <AustinWise@gmail.com>
Tue, 14 Feb 2023 07:02:32 +0000 (23:02 -0800)
committerGitHub <noreply@github.com>
Tue, 14 Feb 2023 07:02:32 +0000 (16:02 +0900)
commit6823bc2a78e3228680e9ff9808cf0e8bd4a413b2
tree89e6a15dde3573825f83b0d811322b1372d3481d
parent90603686d314147017c8bbe1fa8965776ce607d0
Fix build.cmd -s clr.aot+libs (#82019)

The instructions to build NativeAOT suggest this invocation:

```
build.cmd -s clr.aot+libs
```

However I get this error while building:

```
C:\runtime\src\libraries\externals.csproj(90,5): error : Could not locate CoreCLR IL files.
```

Here is the target that generates the error:

https://github.com/dotnet/runtime/blob/main/src/libraries/externals.csproj#L72-L91

It looks like it is only supposed to run when compiling against vanillia
CoreCLR.
eng/Subsets.props
src/libraries/externals.csproj