From eb6202b976c11a1cf843641bbcb8c9bf0d5b6737 Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Fri, 1 May 2020 10:44:41 -0500 Subject: [PATCH] [Java.Interop.BootstrapTasks] Convert to SDK style project (#609) --- .../Java.Interop.BootstrapTasks.csproj | 54 ++++--------------- .../Properties/AssemblyInfo.cs | 27 ---------- build-tools/automation/azure-pipelines.yaml | 4 +- 3 files changed, 13 insertions(+), 72 deletions(-) delete mode 100644 build-tools/Java.Interop.BootstrapTasks/Properties/AssemblyInfo.cs diff --git a/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj b/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj index c633da51e..77f5a8667 100644 --- a/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj +++ b/build-tools/Java.Interop.BootstrapTasks/Java.Interop.BootstrapTasks.csproj @@ -1,53 +1,21 @@ - - + + - Debug - AnyCPU - {3E8E5C8C-59A6-4A9A-B55D-46AB14431B2A} - Library - Java.Interop.BootstrapTasks - Java.Interop.BootstrapTasks - v4.7.1 - 8.0.30703 - 2.0 + netstandard2.0 + false + $(BuildToolOutputFullPath) - - True - Full - False - ..\..\bin\BuildDebug - prompt - 4 - false - - - true - ..\..\bin\BuildRelease - prompt - 4 - false - - - - - - - - - - + - - - - - + + + {E34BCFA0-CAA4-412C-AA1C-75DB8D67D157} Xamarin.Android.Tools.AndroidSdk - - \ No newline at end of file + + diff --git a/build-tools/Java.Interop.BootstrapTasks/Properties/AssemblyInfo.cs b/build-tools/Java.Interop.BootstrapTasks/Properties/AssemblyInfo.cs deleted file mode 100644 index c7d4e7634..000000000 --- a/build-tools/Java.Interop.BootstrapTasks/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("Java.Interop.BootstrapTasks")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("Xamarin Inc.")] -[assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("Xamarin Inc.")] -[assembly: AssemblyTrademark ("Xamarin")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion ("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index f57f77556..ae8db86c1 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -44,14 +44,14 @@ jobs: inputs: solution: Java.Interop.sln configuration: $(Build.Configuration) - msbuildArguments: /t:Prepare + msbuildArguments: /restore /t:Prepare - task: MSBuild@1 displayName: MSBuild Java.Interop.sln inputs: solution: Java.Interop.sln configuration: $(Build.Configuration) - msbuildArguments: '/t:Restore,Build' + msbuildArguments: /restore - task: MSBuild@1 displayName: MSBuild RunNUnitTests.targets