I'm having some trouble trying to build my Sitecore 9.2 solution in an Azure Devops build pipeline. The project/solution builds great locally and I'm able to generate my CM and CD WDPs. But while building in the pipeline, I'm seeing the following error:
Error MSB4057: The target "Build" does not exist in the project.
Anyone seen that? I'm using the nuget package for 18.104.22.168. I tried copying up the TDS targets file to my repo so that I could reference it directly in my TDS csproj files like:
<Import Project="..\..\..\..\tools\HedgehogDevelopment.SitecoreProject.targets" Condition="Exists('..\..\..\..\tools\HedgehogDevelopment.SitecoreProject.targets')" />
but that didn't seem to help.
I haven't seen anyone talking about this in regards to TDS projects, so I assume I have missed some obvious configuration step, but does anyone have any ideas to check?