From 2f7bbed048cad3def9a94463f27255e7093f1759 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 18:52:08 +0530 Subject: [PATCH 01/23] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..6a9684e --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,33 @@ +# .NET Desktop +# Build and run tests for .NET Desktop or Windows classic desktop solutions. +# Add steps that publish symbols, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net + +trigger: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + +- task: VSBuild@1 + inputs: + solution: '$(solution)' + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' From aa89248d697993ab09cb96059e35db15679bc255 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 18:54:38 +0530 Subject: [PATCH 02/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a9684e..167975f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,3 +31,8 @@ steps: inputs: platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' + +- task: CopyFiles@2 + inputs: + Contents: '**\$(BuildConfiguration)\**\?(*.exe|*.dll|*.pdb)' + TargetFolder: '$(BuildArtifactStagingDirectory)' \ No newline at end of file From e2c13590e8674f4a509273b76ce16da410384031 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 18:57:58 +0530 Subject: [PATCH 03/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 167975f..bc9dd7a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,7 +4,7 @@ # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net trigger: -- master +- pool: vmImage: 'windows-latest' From ff2acead4add69922b79ec4cdfd9fcb25e74f925 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 19:00:13 +0530 Subject: [PATCH 04/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bc9dd7a..fa2a810 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -35,4 +35,4 @@ steps: - task: CopyFiles@2 inputs: Contents: '**\$(BuildConfiguration)\**\?(*.exe|*.dll|*.pdb)' - TargetFolder: '$(BuildArtifactStagingDirectory)' \ No newline at end of file + TargetFolder: '$(Build.ArtifactStagingDirectory)' \ No newline at end of file From 8224a837a39b4686493e15c1a15a050c745314a0 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 19:27:38 +0530 Subject: [PATCH 05/23] 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 fa2a810..62f9d94 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,8 +11,8 @@ pool: variables: solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' + buildPlatform: + buildConfiguration: steps: - task: NuGetToolInstaller@1 From bb8ee466eddd2d17b444f004770822450c22aa06 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 20:03:25 +0530 Subject: [PATCH 06/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 62f9d94..183255a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -35,4 +35,10 @@ steps: - task: CopyFiles@2 inputs: Contents: '**\$(BuildConfiguration)\**\?(*.exe|*.dll|*.pdb)' - TargetFolder: '$(Build.ArtifactStagingDirectory)' \ No newline at end of file + TargetFolder: '$(Build.ArtifactStagingDirectory)' + +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' \ No newline at end of file From 9f0de64d63abe219a70d388fa6722654282fe167 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Tue, 21 Apr 2020 20:08:34 +0530 Subject: [PATCH 07/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 183255a..3cbfda8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,4 +41,4 @@ steps: inputs: PathtoPublish: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'drop' - publishLocation: 'Container' \ No newline at end of file + \ No newline at end of file From 52e347cb06c871f391c893ae75662bb5c7e26063 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Wed, 22 Apr 2020 12:31:30 +0530 Subject: [PATCH 08/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3cbfda8..48cd71b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,8 @@ trigger: - pool: - vmImage: 'windows-latest' + # vmImage: 'windows-latest' + name: Default variables: solution: '**/*.sln' From 22ae67b79b0f635a4272b20008b8acf4d4c107d9 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Wed, 22 Apr 2020 17:04:27 +0530 Subject: [PATCH 09/23] 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 48cd71b..cd484c7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - # vmImage: 'windows-latest' - name: Default + vmImage: 'windows-latest' + #name: Default variables: solution: '**/*.sln' From ec374a1ce4d8597157216cf923c40205c3f7c2c9 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 17:24:41 +0530 Subject: [PATCH 10/23] 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 cd484c7..689d408 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - vmImage: 'windows-latest' - #name: Default + #vmImage: 'windows-latest' + name: Default variables: solution: '**/*.sln' From 87092ed7a13c6a5d2b0714fbeb10862bea138bf1 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 18:22:52 +0530 Subject: [PATCH 11/23] 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 689d408..8d2c385 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - #vmImage: 'windows-latest' - name: Default + #vmImage:'ubuntu' + name: 'MyAgentPool' variables: solution: '**/*.sln' From 60800635c4ebbdacc1bb73dd54d916dc6e8284d3 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 18:29:46 +0530 Subject: [PATCH 12/23] 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 8d2c385..89a4bfd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - #vmImage:'ubuntu' - name: 'MyAgentPool' + vmImage:'ubuntu-18.04.6 LTS' + #name: 'MyAgentPool' variables: solution: '**/*.sln' From 4b10606a4ca8a93eab2cb8e595681e1f7ab62494 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 18:46:51 +0530 Subject: [PATCH 13/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 89a4bfd..e3316d8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ trigger: - pool: - vmImage:'ubuntu-18.04.6 LTS' + vmImage:'ubuntu-16.04.6 LTS' #name: 'MyAgentPool' variables: From 9ad1a3e8bd5939a01258e2cb9ce57bb7c3bf392d Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 18:50:23 +0530 Subject: [PATCH 14/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e3316d8..ec7acf1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ trigger: pool: vmImage:'ubuntu-16.04.6 LTS' - #name: 'MyAgentPool' + #name: 'MyAgentPool' variables: solution: '**/*.sln' From b5e1e3cc65c3c475f7b1494812a42f7f17db2fc2 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 19:29:09 +0530 Subject: [PATCH 15/23] 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 ec7acf1..18012d7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - vmImage:'ubuntu-16.04.6 LTS' - #name: 'MyAgentPool' + # vmImage:'ubuntu-16.04.6 LTS' + name: 'MyAgentPool' variables: solution: '**/*.sln' From 38ffdcd1b73e36ddcc504ab5a9ea1acedc27f0f8 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 21:03:11 +0530 Subject: [PATCH 16/23] 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 18012d7..2485831 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - # vmImage:'ubuntu-16.04.6 LTS' - name: 'MyAgentPool' + vmImage:'windows-latest' + #name: 'MyAgentPool' variables: solution: '**/*.sln' From 92bcbeabc75bfc292636e1d6ebddd85fe4db42ad Mon Sep 17 00:00:00 2001 From: Software-wj Date: Fri, 8 May 2020 21:09:58 +0530 Subject: [PATCH 17/23] 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 2485831..52df249 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - vmImage:'windows-latest' - #name: 'MyAgentPool' + # vmImage:'windows-latest' + name: 'Default' variables: solution: '**/*.sln' From e66615ccb2da8d5f1bce4c80b50e56058bb09e21 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Sat, 9 May 2020 11:23:19 +0530 Subject: [PATCH 18/23] 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 52df249..2a79ff3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - # vmImage:'windows-latest' - name: 'Default' + vmImage:'windows-latest' + #name: 'Default' variables: solution: '**/*.sln' From 985072517013b40b5e43f729d761fa56d3155a90 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Sat, 9 May 2020 11:25:31 +0530 Subject: [PATCH 19/23] 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 2a79ff3..ff5238b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,8 +7,8 @@ trigger: - pool: - vmImage:'windows-latest' - #name: 'Default' + #vmImage:'windows-latest' + name: 'Azure Pipelines' variables: solution: '**/*.sln' From 418343a0bb5332c2170f4cc2b8ef041c30137312 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Sat, 9 May 2020 11:34:09 +0530 Subject: [PATCH 20/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ff5238b..bda895e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,9 +7,8 @@ trigger: - pool: - #vmImage:'windows-latest' name: 'Azure Pipelines' - + vmname: 'windows-latest' variables: solution: '**/*.sln' buildPlatform: From 881924cf687697c396e8ea74ea526472b845b7c1 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Sat, 9 May 2020 11:34:51 +0530 Subject: [PATCH 21/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bda895e..3660b87 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ trigger: pool: name: 'Azure Pipelines' - vmname: 'windows-latest' + vmImage: 'windows-latest' variables: solution: '**/*.sln' buildPlatform: From 300eafe48e6da6f2ab0ec898bb7e3ac833b2d623 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Sat, 9 May 2020 11:39:00 +0530 Subject: [PATCH 22/23] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3660b87..fc05687 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ trigger: - pool: - name: 'Azure Pipelines' + name: 'Default' vmImage: 'windows-latest' variables: solution: '**/*.sln' From 66ddb5cf064ce5dd6bd08ea2dcd7f1e57f234010 Mon Sep 17 00:00:00 2001 From: Software-wj Date: Sat, 9 May 2020 12:22:31 +0530 Subject: [PATCH 23/23] Update net-sample.csproj --- net-sample/net-sample.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-sample/net-sample.csproj b/net-sample/net-sample.csproj index b290d67..ddb3766 100644 --- a/net-sample/net-sample.csproj +++ b/net-sample/net-sample.csproj @@ -5,3 +5,5 @@ + +