Description
After the changes introduced in PR #2223, executing dotnet publish without the local.settings.json file now results in a failure. This is a critical issue for CI/CD scenarios that utilize GitHub Actions, as the absence of local.settings.json should not break the publishing process.
Error message
error MSB3030: Could not copy the file "/home/runner/work/dotnet-isolated-deploy-test/dotnet-isolated-deploy-test/FunctionApp1/local.settings.json" because it was not found.
Action history
https://github.com/shibayan/dotnet-isolated-deploy-test/actions/runs/7728811909/job/21070518163
Steps to reproduce
- Update to
Microsoft.Azure.Functions.Worker.Sdk version 1.17.0-preview3
Repro code : https://github.com/shibayan/dotnet-isolated-deploy-test