From baef9cabf82518e6932d3f74e2d476c51ab635da Mon Sep 17 00:00:00 2001 From: Eugene Sadovoi Date: Wed, 13 Nov 2019 11:08:37 -0800 Subject: [PATCH 1/3] New setup --- Directory.Build.props | 16 +++++++++++ azure-pipelines.yml | 19 +++++++++++++ src/Unity.Configuration.csproj | 49 +++++++++++++++++----------------- 3 files changed, 60 insertions(+), 24 deletions(-) create mode 100644 Directory.Build.props create mode 100644 azure-pipelines.yml diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..e4cffe4 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,16 @@ + + + + 5.12.0 + + + + 5.12.* + [5.12.0-*,5.13.0) + + + + This package is compatible with .NET Standard 1.0 and 2.0, .NET Core 1.0 and 2.0, .NET 4.0, 4.5, 4.6, 4.7 + + + diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..fab88d4 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Build pipeline + +resources: + repositories: + - repository: templates + type: github + name: unitycontainer/DevOps + endpoint: Unity Container + +trigger: +- master +- refs/tags/* + +pool: + vmImage: 'windows-latest' + +steps: +- template: build-steps.yml@templates + diff --git a/src/Unity.Configuration.csproj b/src/Unity.Configuration.csproj index aeb02d6..661b272 100644 --- a/src/Unity.Configuration.csproj +++ b/src/Unity.Configuration.csproj @@ -1,10 +1,9 @@  - - $(Version).0 $(Version).0 + $(Version)$(VERSION_SUFFIX) Unity.Configuration Unity Configuration Copyright © Unity Container Project 2018 @@ -22,6 +21,30 @@ netstandard2.0;net47;net46;net45;netcoreapp2.0 + + + + ..\..\Container\src\Unity.Container.csproj + $(UnityContainer) + + + + + + + + + + + + + + + + + + + true @@ -33,28 +56,6 @@ Full - - - ..\..\Container\src\Unity.Container.csproj - - - - - - - - - - - - - - - - - - - true From a30531d4fdbad3cea6cb00dc2208be2fc7acc045 Mon Sep 17 00:00:00 2001 From: Eugene Sadovoi Date: Wed, 13 Nov 2019 11:29:34 -0800 Subject: [PATCH 2/3] fixing test project --- tests/Configuration.Tests.csproj | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/tests/Configuration.Tests.csproj b/tests/Configuration.Tests.csproj index 52ff1a6..bcd858b 100644 --- a/tests/Configuration.Tests.csproj +++ b/tests/Configuration.Tests.csproj @@ -13,28 +13,14 @@ - - - - - - - - - - - ..\..\Abstractions\src\Unity.Abstractions.csproj - ..\..\Container\src\Unity.Container.csproj - + - - - - - + + + From 8fa72548c1af0b4e1700d7a029735c274bea48c6 Mon Sep 17 00:00:00 2001 From: Eugene Sadovoi Date: Wed, 13 Nov 2019 11:30:44 -0800 Subject: [PATCH 3/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fab88d4..597dd74 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,8 +8,8 @@ resources: endpoint: Unity Container trigger: -- master -- refs/tags/* +- v5.x +- refs/tags/v5.* pool: vmImage: 'windows-latest'