From d56643445cfc6ed312cfc100be915be401396132 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Wed, 21 Aug 2024 09:54:32 -0500 Subject: [PATCH] [build] add extension point for consuming repositories (#412) * [build] add extension point for consuming repositories Context: https://github.com/dotnet/android/pull/9237 Context: https://github.com/dotnet/android-tools/commit/34e98e2b65917d105169f868b5648f67e68b6784 Using the latest .NET 9 RC 1 builds, dotnet/android repo fails to restore with: external/debugger-libs/Mono.Debugging/Mono.Debugging.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.34 To solve this, we generally set `$(RestoreAdditionalProjectSources)` to a feed that would include the 6.0.34 runtime packages. Add an "extension point" to mono/debugger-libs, that would allow us to have a submodule like: external/debugger-libs Then would allow us to create the file: external/debugger-libs.override.props This file would set `$(RestoreAdditionalProjectSources)` until the 6.0.34 runtime is released. * `.props`! Whoops! --- Directory.Build.props | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..934af44c --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,7 @@ + + + +