From 97691711dd90625511dc2d0eab26f7f77c8107f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emek=20Vysok=C3=BD?= Date: Thu, 12 Nov 2020 15:37:51 +0100 Subject: [PATCH] FI Xamarin change to ProjectFileExtensions Forward integration of https://github.com/xamarin/xamarin-macios/commit/d4fb41b17270ef8f86fe10857e552d10e4f57b85 --- .../Utilities/ProjectFileExtensions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.DotNet.XHarness.iOS.Shared/Utilities/ProjectFileExtensions.cs b/src/Microsoft.DotNet.XHarness.iOS.Shared/Utilities/ProjectFileExtensions.cs index b65c7cdee..b56b30a58 100644 --- a/src/Microsoft.DotNet.XHarness.iOS.Shared/Utilities/ProjectFileExtensions.cs +++ b/src/Microsoft.DotNet.XHarness.iOS.Shared/Utilities/ProjectFileExtensions.cs @@ -558,7 +558,7 @@ public static void FixProjectReferences(this XmlDocument csproj, string? subdir, public static void FixTestLibrariesReferences(this XmlDocument csproj, string platform) { - var nodes = csproj.SelectNodes("//*[local-name() = 'ObjcBindingNativeLibrary' or local-name() = 'ObjcBindingNativeFramework']"); + var nodes = csproj.SelectNodes("//*[local-name() = 'ObjcBindingNativeLibrary' or local-name() = 'ObjcBindingNativeFramework' or local-name() = 'NativeReference']"); var test_libraries = new string[] { "libtest.a", "libtest2.a", @@ -1206,6 +1206,7 @@ public static void ResolveAllPaths(this XmlDocument csproj, string project_path, new string [] { "FilesToCopyChannels", "Include" }, new string [] { "CustomMetalSmeltingInput", "Include" }, new string [] { "Metal", "Include" }, + new string [] { "NativeReference", "Include" }, }; var nodes_with_variables = new string[] {