From 7754981bd4d8be9068cd001ce2a394a6846b44c7 Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" Date: Sun, 27 Jan 2019 13:42:46 +0000 Subject: [PATCH 1/5] Set up CI with Azure Pipelines --- azure-pipelines.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..184a456 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,34 @@ +# ASP.NET Core (.NET Framework) +# Build and test ASP.NET Core projects targeting the full .NET Framework. +# Add steps that publish symbols, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core + +trigger: +- master + +pool: + vmImage: 'VS2017-Win2016' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- task: NuGetToolInstaller@0 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + +- task: VSBuild@1 + inputs: + solution: '$(solution)' + msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"' + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' From 04dfd5d2088e8c97ea1fe2b6bf522409e55381b1 Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" Date: Mon, 28 Jan 2019 07:15:06 +0000 Subject: [PATCH 2/5] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 184a456..008b34a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,6 +27,7 @@ steps: msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' + vsVersion: latest - task: VSTest@2 inputs: From 9f1f7d51e4b522a03735e612f9320675dd45792f Mon Sep 17 00:00:00 2001 From: doug144 Date: Mon, 28 Jan 2019 12:21:02 +0200 Subject: [PATCH 3/5] Add TargetLatestRuntimePatch tag --- WebApiExtended.NETCore/WebApiExtended.NETCore.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj b/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj index 6350d02..419c8da 100644 --- a/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj +++ b/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj @@ -1,6 +1,7 @@  netcoreapp2.1 + true true PubComp.Caching.WebApiExtended.NETCore PubComp.Caching.WebApiExtended.NETCore @@ -18,4 +19,4 @@ - \ No newline at end of file + From 7d462d38ebde3e42d5d5575756a1bab87ac3168d Mon Sep 17 00:00:00 2001 From: doug144 Date: Mon, 28 Jan 2019 12:31:48 +0200 Subject: [PATCH 4/5] Updated netcore NuGet dependency As per issue details here: https://github.com/aspnet/AspNetCore/issues/3221#issuecomment-413094268 --- WebApiExtended.NETCore/WebApiExtended.NETCore.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj b/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj index 419c8da..111df43 100644 --- a/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj +++ b/WebApiExtended.NETCore/WebApiExtended.NETCore.csproj @@ -10,7 +10,7 @@ 4.1.1.0 - + From d213f3568d1a7353170a81fe5e0aa0cc1e319201 Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" Date: Thu, 31 Jan 2019 07:48:03 +0000 Subject: [PATCH 5/5] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 008b34a..81fc9ba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,7 +24,6 @@ steps: - task: VSBuild@1 inputs: solution: '$(solution)' - msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' vsVersion: latest