I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not completing successfully.
The specific error encountered is as follows:
ERROR Command WorkerExtensions.csproj : error: The package reference 'Microsoft.NETCore.Targets' should not specify a version. Please specify the version in 'Packages.props' or set VersionOverride to override the centrally defined version.
It's important to note that the 'WorkerExtensions.csproj' file, which is mentioned in the error, is a dynamically generated file and not manually created by me. I have attempted to resolve this by adding the 'Microsoft.NETCore.Targets' NuGet package in the 'Packages.props' file, but the issue persists.
Could you please provide guidance on a potential workaround or solution to address this build failure?
Link to the migration document: https://video2.skills-academy.com/en-us/azure/azure-functions/migrate-dotnet-to-isolated-model?tabs=net8