I have an old website that is being deployed to a server by teamcity. Previously, this has been done by invoking the build target MSDeployPublish. All the other sites being deployed from teamcity use Package and then a separate build configuration to deploy by invoking the generated cmd file.
But, this one site does not make a cmd file when built.
The package zip file does contain an Archive.deploy.cmd
file, but Project.deply.cmd
is missing from the Package output directory.
I have been comparing this project to a couple other that work, but am unable to find the root cause.
One that works:
And the one that doesn't work:
It seems I cracked it;
I suspect it is likely the
PackageAsSingleFile
that caused the issue.