Hello Team, i am trying to build a sql project with msbuild using self hosted windows agent in AKS but iam facing the error

Anonymous
2024-08-01T18:55:40+00:00

"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Also, tried to find "Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe.Config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.

the build works fine with the self hosted Windows agent hosted in Azure can you point me where iam doing the mistake

also would like to know is linux servers capable of building sql projects and if yes can you send me a link for reference

Windows for business | Windows Server | Devices and deployment | Install Windows updates, features, or roles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-08-02T01:13:45+00:00

    Hello anil nair1,

    Thank you for posting in Microsoft Community forum.

    Based on the description, I understand your question is related to SQL/AKS. 

    Since there are no engineers dedicated to SQL/AKS in this forum. In order to be able to get a quick and effective handling of your issue, I recommend that you repost your question in the Q&A forum, where there will be a dedicated engineer to give you a professional and effective reply.

    Here is the link for Q&A forum.

    Questions - Microsoft Q&A

    Have a nice day.

    Best Regards,

    Haijian Shan

    0 comments No comments