Skip to content

dotnet publish fails with Microsoft.Azure.Functions.Worker.Sdk version 1.17.0-preview3 #2249

@shibayan

Description

@shibayan

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

  1. Update to Microsoft.Azure.Functions.Worker.Sdk version 1.17.0-preview3

Repro code : https://github.com/shibayan/dotnet-isolated-deploy-test

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions