I have an MVC project that for an uknown reason refuses to publish to a local folder in the PC.
The log says the following:
3>------ Publish start
I had similar problem with project using:
For that project, the following Azure DevOps Pipeline settings works:
MSBuild arguments:
/t:Publish;Build /p:PublishDir="$(build.artifactstagingdirectory)\" /p:SkipInvalidConfigurations=true /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:PackageLocation="$(build.artifactstagingdirectory)\"
Visual Studio Test Platform Installer: Latest stable
Select test using: Test assemblies
Testfiles:
*Tests.dll
!**\obj*
Searchfolder:$(System.DefaultWorkingDirectory)
Test results folder: $(Agent.TempDirectory)\TestResults
Test platform version: Installed by Tools Installer
Other console options: /Framework:Framework45 /Diag:log.txt /Logger:console
Build platform: $(BuildPlatform)
Build configuration: $(BuildConfiguration)
=== YAML
steps:
steps:
steps:
steps: