
error MSB4057: The target “pipelinePreDeployCopyAllFilesToOneFolder” does not exist in the project
When trying to use GitHub actions to deploy code to an Azure Web App In my case this was quite simple, the Web App was configured to use .NET but my code was .NET Core 3.1. When I updated the Web App to use .NET Core then this worked fine.