From a4e3d4b7af563fc3672d064e64f88e77462331a6 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Fri, 12 Jul 2019 16:49:56 -0700 Subject: [PATCH] Separate mgmt tools project - Move mgmt tools to mgmtci.proj and not in dotnet.proj - update mgmt package project to use project instead of nuspec So that we can have a unique build each time. For now to build the mgmt tools you need to specific mgmtci.proj from the build queue when starting the build. --- dotnet.proj | 2 +- mgmtci.proj | 19 ++-------- .../MS.Az.Mgmt.CI.BuildTasks.csproj | 35 +++++++++++++---- .../Tests.CI.BuildTasks.csproj | 9 +++-- .../MS.Az.Mgmt.CI.Common.csproj | 12 +++--- .../CI/CI.Common/Tests/Tests.CI.Common.csproj | 5 ++- .../Mgmt.CI.BuildTools/Directory.Build.props | 34 +++++++++++++++++ ...Microsoft.Internal.AzNetSdk.CITools.csproj | 38 ------------------- src/dotnet/Mgmt.CI.BuildTools/ci.common.props | 36 ------------------ 9 files changed, 82 insertions(+), 108 deletions(-) create mode 100644 src/dotnet/Mgmt.CI.BuildTools/Directory.Build.props delete mode 100644 src/dotnet/Mgmt.CI.BuildTools/NugetToolsPackage/CI.Tools.Package/Microsoft.Internal.AzNetSdk.CITools.csproj delete mode 100644 src/dotnet/Mgmt.CI.BuildTools/ci.common.props diff --git a/dotnet.proj b/dotnet.proj index fc5599d2fac..4eb4dfe9716 100644 --- a/dotnet.proj +++ b/dotnet.proj @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/mgmtci.proj b/mgmtci.proj index 37c81cd3d06..84ad1671664 100644 --- a/mgmtci.proj +++ b/mgmtci.proj @@ -1,16 +1,5 @@ - - - - ci - - - - - - - - - - - + + + + \ No newline at end of file diff --git a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Mgmt.CI.BuildTasks/MS.Az.Mgmt.CI.BuildTasks.csproj b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Mgmt.CI.BuildTasks/MS.Az.Mgmt.CI.BuildTasks.csproj index f399d15cb1f..2b11a707b15 100644 --- a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Mgmt.CI.BuildTasks/MS.Az.Mgmt.CI.BuildTasks.csproj +++ b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Mgmt.CI.BuildTasks/MS.Az.Mgmt.CI.BuildTasks.csproj @@ -1,20 +1,28 @@  - - MS.Az.NetSdk.Build.Tasks - Provides .NET SDK Build tools and msbuild tasks Microsoft.Azure.NetSdk.Build.Tasks MS.Az.Mgmt.NetSdk.BuildTasks + win10-x64 + false + $(NoWarn);NU5100;NU5110;NU5111 + + Microsoft.Internal.NetSdkBuild.Mgmt.Tools + Build tools for building Azure SDK for NET repository + https://github.com/Azure/azure-sdk-for-net + http://go.microsoft.com/fwlink/?LinkID=288890 + https://github.com/Azure/azure-sdk-for-net + Azure.NETSDKBuildToolsPackage + Build tools for Azure .NET SDKs repository + false $(FullNetFxBitness) - CS0414;CS0219;CS0649 - false + $(NoWarn);CS0414;CS0219;CS0649 - $(CurrentTargetFxVersion) + $(CurrentTargetFxVersion) @@ -28,5 +36,18 @@ - + + + + + $(TargetsForTfmSpecificContentInPackage);_AddPublishOutputToPackage + + + + + + + + \ No newline at end of file diff --git a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Tests/CI.BuildTasks.Tests/Tests.CI.BuildTasks.csproj b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Tests/CI.BuildTasks.Tests/Tests.CI.BuildTasks.csproj index aa9a347512e..7dd8b8811ef 100644 --- a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Tests/CI.BuildTasks.Tests/Tests.CI.BuildTasks.csproj +++ b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.BuildTasks/Tests/CI.BuildTasks.Tests/Tests.CI.BuildTasks.csproj @@ -4,9 +4,12 @@ Tests for MS.Az.NetSdk.Build.Tasks msbuild build tasks tests MS.Az.NetSdk.Build.Tasks Tests Build.Tasks.Tests - + + + false + - netcoreapp2.1 + netcoreapp2.1 false @@ -19,6 +22,6 @@ - + diff --git a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Mgmt.CI.Common/MS.Az.Mgmt.CI.Common.csproj b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Mgmt.CI.Common/MS.Az.Mgmt.CI.Common.csproj index d3864c805b7..fbf41fae7e6 100644 --- a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Mgmt.CI.Common/MS.Az.Mgmt.CI.Common.csproj +++ b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Mgmt.CI.Common/MS.Az.Mgmt.CI.Common.csproj @@ -1,5 +1,4 @@  - MS.Az.NetSdk.Build.Common Azure SDK build common @@ -8,7 +7,6 @@ $(CurrentTargetFxVersion) - false @@ -25,9 +23,9 @@ - - - + + + @@ -36,7 +34,7 @@ - + - + diff --git a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Tests/Tests.CI.Common.csproj b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Tests/Tests.CI.Common.csproj index c948e60b823..b1d227928e7 100644 --- a/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Tests/Tests.CI.Common.csproj +++ b/src/dotnet/Mgmt.CI.BuildTools/CI/CI.Common/Tests/Tests.CI.Common.csproj @@ -5,9 +5,12 @@ MS.Az.NetSdk.Common.BuildTasks Tests Common.BuildTasks.Tests {DB4263F3-7041-4C7E-A373-BB04A5A32C34} + + + false - netcoreapp2.1 + netcoreapp2.1 false diff --git a/src/dotnet/Mgmt.CI.BuildTools/Directory.Build.props b/src/dotnet/Mgmt.CI.BuildTools/Directory.Build.props new file mode 100644 index 00000000000..7b6e2dbca96 --- /dev/null +++ b/src/dotnet/Mgmt.CI.BuildTools/Directory.Build.props @@ -0,0 +1,34 @@ + + + + 0.10.0 + AnyCPU + net461;netstandard2.0 + $(CurrentTargetFxVersion) + $(CIBuildOutputDir) + false + false + $(MSBuildThisFileDirectory)NugetToolsPackage\CI.Tools.Package\build + + + + + + + + + + + + + Microsoft Corporation + Azure .NET SDK Build Tools + © Microsoft Corporation. All rights reserved. + Microsoft + http://go.microsoft.com/fwlink/?LinkID=288890 + true + $(PackageTags);$(NugetCommonTags);$(NugetCommonProfileTags);$(AzureApiVersionInTags) + true + 1.6.1 + + \ No newline at end of file diff --git a/src/dotnet/Mgmt.CI.BuildTools/NugetToolsPackage/CI.Tools.Package/Microsoft.Internal.AzNetSdk.CITools.csproj b/src/dotnet/Mgmt.CI.BuildTools/NugetToolsPackage/CI.Tools.Package/Microsoft.Internal.AzNetSdk.CITools.csproj deleted file mode 100644 index 6abce2004f1..00000000000 --- a/src/dotnet/Mgmt.CI.BuildTools/NugetToolsPackage/CI.Tools.Package/Microsoft.Internal.AzNetSdk.CITools.csproj +++ /dev/null @@ -1,38 +0,0 @@ - - - net461;netstandard2.0 - false - Microsoft.Internal.NetSdkBuild.Mgmt.Tools - Microsoft - Build tools for building Azure SDK for NET repository - © Microsoft Corporation. All rights reserved. - https://github.com/Azure/azure-sdk-for-net - http://go.microsoft.com/fwlink/?LinkID=288890 - https://github.com/Azure/azure-sdk-for-net - Azure.NETSDKBuildToolsPackage - Build tools for Azure .NET SDKs repository - false - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - diff --git a/src/dotnet/Mgmt.CI.BuildTools/ci.common.props b/src/dotnet/Mgmt.CI.BuildTools/ci.common.props deleted file mode 100644 index 4c84d789110..00000000000 --- a/src/dotnet/Mgmt.CI.BuildTools/ci.common.props +++ /dev/null @@ -1,36 +0,0 @@ - - - 0.9.0 - 0.9.0 - 0.9.0 - - - AnyCPU - net461;netstandard2.0 - $(CurrentTargetFxVersion) - $(CIBuildOutputDir) - false - false - - - - - - - - - - - - - Microsoft Corporation - Azure .NET SDK Build Tools - © Microsoft Corporation. All rights reserved. - Microsoft - http://go.microsoft.com/fwlink/?LinkID=288890 - true - $(PackageTags);$(NugetCommonTags);$(NugetCommonProfileTags);$(AzureApiVersionInTags) - true - 1.6.1 - - \ No newline at end of file