After updating Nuget packages in an Azure Function v.4 project, dotnet 6, NCrunch suddenly started reporting build failures:
..\..\..\..\..\program files\microsoft visual studio\2022\professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets (1154, 7): The target "NCrunchPrepareForBuild" does not exist in the project.
Seems to be the same issue as in topic
https://forum.ncrunch.ne...tion---build-issue.aspx before, and the suggested workaround still works:
<PropertyGroup Condition="'$(NCrunch)' == '1'">
<ExcludeRestorePackageImports>true</ExcludeRestorePackageImports>
</PropertyGroup>
However, this was not a problem until recently with this project in question. I did update (and pay for yet another license) NCrunch, but to no avail.
Any insights?