Adding Images in Azure DevOps Wiki

The wiki pages get created in their own Git repository and the image files are also added there. You can browse the repos from within DevOps at; https://dev.azure.com/MyOrganisation/MyProject/_git/MyProject.wiki The markdown path for the image should begin /.attachments/ and make sure if you are adding dimension you use =500x and not =500 if you exclude the … Read more

Error NETSDK1045: The current .NET SDK does not support targeting .NET 6.0

I found the solution here https://jaliyaudagedara.blogspot.com/2021/07/azure-devops-building-projects.html It works if I specify the .NET Core SDK version & set preview version to true – task: UseDotNet@2 displayName: ‘Use .NET Core sdk’ inputs: packageType: ‘sdk’ version: ‘6.0.x’ includePreviewVersions: true So my final pipelines looks something like this # .NET Core Function App to Windows on Azure # … Read more

Can Conditional Variable Assignment be Done in Azure Pipelines?

As an extension to @Mike Murray’s answer, if you are using variable groups you must define additional variables as name value pairs. To use conditional variable assignment in this case would be as follows: variables: – group: ‘my-variable-group’ – name: myfirstadditionalvariable value: 100 – name: myconditionalvariable ${{ if eq( variables[‘Build.SourceBranchName’], ‘master’ ) }}: value: masterBranchValue … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)