Solution: Add-Migration Build Failed. Update-Database Failed
Entity Framework

Solved: Add-Migration initial -v Build started Build failed or Update-Database Failed

Add-Migration initial -v Build started Build failed or Update-Database Failed

Solution:

  1. Make sure the solution is building right, clean and rebuild, if any project fails, fix it.
  2. Use dot net tool through command prompt to add the migration it will give you clear information
dotnet ef migrations add MigrationName -v

Now fix the issue, in my case I needed to add reference to Microsoft.EntityFrameworkCore.Design

So I installed Microsoft.EntityFrameworkCore.Tools and it fixed the issue.

if still looking for answers check this post

Happy Coding!

SonarQube

Solved: Reason: The response was received at http://somsite/oauth2/callback/saml instead of https://somsite/oauth2/callback/saml in SonarQube

Solved: Reason: The response was received at http://somsite/oauth2/callback/saml instead of https://somsite/oauth2/callback/saml

To solve this issue you need to add :

X-Forwarded-Proto: https

in your load balancer configuration.

Azure DevOps Server, CICD

How to configure Build Agent to Use Proxy Azure DevOps Server

How to configure Build Agent to Use Proxy Azure DevOps Server

Solution:

You need to use below command when configuring the Agent:

./config.cmd --proxyurl http:/YourProxy:Port --proxyusername "domain\ServiceAccount" --proxypassword "Password"

For more information check

TFS Migration to Azure DevOps Server

Solved : The folder you specified for the Search index is not empty. Change your configuration setting to specify an empty folder for the index store Elastic Search

Solution :

Just go to the Search Index folder and delete any files and folder in it:

C:Search\IndexStore\

Azure DevOps Server, CICD

Solved: No agent found in pool Default which satisfies the specified demands: JAVA in Azure DevOps Server

Solution:

Although if you search the internet or official documentation you will not find anything about this.

The solution is pretty simple, you need to download the Latest JDK and install it on your build server/Azure Build Agent server

then go to Collection Settings ->Agent Pools-> Select your agent and add User CAPABILITIES as shown in the picture below: