microsoft / azuredevopslabs

Learn how you can plan smartly, collaborate better, and ship faster with a set of modern development services with Azure DevOps.
https://www.azuredevopslabs.com
MIT License
806 stars 905 forks source link

Get Dotnet error on Terraform Lab PartsUnlimited #671

Open Speedingtoe opened 1 year ago

Speedingtoe commented 1 year ago

Hi,

I've tried several things to get the publish task to work. Is this an issue someone can help with? I have tried with Self Hosted and Microsoft Hosted Agents but the Publish task in the job errors

##[error]Dotnet command failed with non-zero exit code on the following projects : [ 'C:\agent\_work\2\s\src\PartsUnlimitedWebsite\PartsUnlimitedWebsite.csproj'

I don't know dotnet, I've tried to research but no luck. Looks like a problem with .csproj file. I have named my project PartsUnlimitedWebsite. Issue occurs in step4 of the below.

Automating infrastructure deployments in the Cloud with Terraform and Azure Pipelines https://www.azuredevopslabs.com/labs/vstsextend/terraform/

### Tasks