No packages were found with the specified pattern.

I am using the Deploy azure app service for the build step of the slot in Team Services, I want to be able to build my solution with the PackageAsSingleFile set to False. However, when I try to release a package with the artifact created, I get "No packages with the specified template."

Do I need to create two artifacts, one as a zip file and one as a package of files, to do what I want? I tried a different folder path, but I get the same error, no matter.

enter image description here

+6
source share
2 answers

Refer to the following steps:

  • NuGet installer task to restore a package
  • Visual Studio (: ***. sln; Visual Studio: Visual Studio 2015; MSBuild :/p: DeployOnBuild = True/p: DeployDefaultTarget = WebPublish/p: WebPublishMethod = FileSystem/p: DeleteExistingFiles = True/p: publishUrl = "$ (build.artifactstagingdirectory) \"; : $(BuildPlatform); : $(BuildConfiguration))
  • ( : $( build.artifactstaging); : ; : )
  • /
  • Azure ( : $(System.DefaultWorkingDirectory)/**/drop)
  • -
+6

zip , Azure App Services Deploy .

:

:

: $(Build.SourcesDirectory).

: , Azure, A SPNETCoreProj\**.

: $(Build.ArtifactStagingDirectory).

: ( ) : $(Build.ArtifactStagingDirectory). : zip. : $(Build.ArtifactStagingDirectory)/project.zip.

:

: $(Build.ArtifactStagingDirectory).

: drop.

$(System.DefaultWorkingDirectory)\**\*.zip Azure App.

+1

All Articles