From 139c11a1903dda0ffdcfd9b6a22381415a96d210 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 28 Oct 2020 17:21:40 +0100 Subject: [PATCH] [tests] Use MyiOSFrameworkBinding as a binding test project instead of bindings-test (#9985) MyiOSFrameworkBinding is in our normal collection of test projects (in tests/common/TestProjects), which means it doesn't need a lot of special casing to make it work. --- .../Xamarin.MacDev.Tests/ProjectsTests/BindingProject.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/BindingProject.cs b/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/BindingProject.cs index 529df86c4e..342b8d5585 100644 --- a/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/BindingProject.cs +++ b/tests/msbuild/Xamarin.MacDev.Tests/ProjectsTests/BindingProject.cs @@ -17,12 +17,12 @@ namespace Xamarin.iOS.Tasks [Test] public void BuildTest () { - var mtouchPaths = SetupProjectPaths ("bindings-test", projectPath: Path.Combine (Configuration.RootPath, "tests", "bindings-test", "iOS"), includePlatform: false, config: "Any CPU/Debug-unified"); + var mtouchPaths = SetupProjectPaths ("MyiOSFrameworkBinding", includePlatform: false); var proj = SetupProject (Engine, mtouchPaths.ProjectCSProjPath); AppBundlePath = mtouchPaths.AppBundlePath; - var dllPath = Path.Combine(mtouchPaths.ProjectBinPath, "bindings-test.dll"); + var dllPath = Path.Combine (mtouchPaths.ProjectBinPath, "MyiOSFrameworkBinding.dll"); Engine.ProjectCollection.SetGlobalProperty ("Platform", Platform);