From 3153b416523c73e7ac266abb910030128107c1ae Mon Sep 17 00:00:00 2001 From: Skylar Date: Thu, 23 Feb 2023 09:02:00 -0800 Subject: [PATCH 1/2] Make sure to specify in the publish step that the project is not a web project --- vsts-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/vsts-ci.yml b/vsts-ci.yml index b2869ff..efae0c2 100644 --- a/vsts-ci.yml +++ b/vsts-ci.yml @@ -41,6 +41,7 @@ steps: command: 'test' projects: 'VSConfigFinder.Test' arguments: '--configuration $(BuildConfiguration)' + publishWebProjects: false - task: DotNetCoreCLI@2 displayName: Publish From f7ced2cd440b6975592147f3c990491ccbb0d06c Mon Sep 17 00:00:00 2001 From: Skylar Date: Thu, 23 Feb 2023 09:13:07 -0800 Subject: [PATCH 2/2] Move the change to the publish step --- vsts-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsts-ci.yml b/vsts-ci.yml index efae0c2..5fb114f 100644 --- a/vsts-ci.yml +++ b/vsts-ci.yml @@ -41,13 +41,13 @@ steps: command: 'test' projects: 'VSConfigFinder.Test' arguments: '--configuration $(BuildConfiguration)' - publishWebProjects: false - task: DotNetCoreCLI@2 displayName: Publish inputs: command: 'publish' arguments: '--no-build --configuration $(BuildConfiguration)' + publishWebProjects: false - task: CopyFiles@2 displayName: 'Copy build artifacts from: $(Build.SourcesDirectory)\VSConfigFinder\bin\$(BuildConfiguration)\** to $(Build.ArtifactStagingDirectory)\out'