Reputation: 800
I'm trying to deploy a .NET project which has multiple projects in it as well as an sql database(ssdt) but I'm having a hard time finding out what path to use to get the .dacpac generated.
In dotnet build I have Arguments: --configuration Release
I also want to know if the copy task is properly placed, or should it be below dotnet publish.
Upvotes: 1
Views: 99
Reputation: 1336
You can use a more general wildcard to find your dacpac, unless you're generating more than one, this would work:
As a troubleshooting tip, if you have trouble finding files generated on your agents, you can add a small bash script to your pipeline to list all files & the primary working directory:
echo "-----------------"
echo "-- Primary Working Directory"
pwd
echo "-- All Directories & Files"
ls -LR
Upvotes: 1