Deploy fails, bin folder contents not uploaded. However, Azure console states, Deploy to app "spravzni" succeeded

Open
#3,986 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, typescript, vscode
Domain
cloud, devops, devtools

Research direction

Start by reproducing deployment with Azure Resources 0.8.0 and 0.8.4 in VS Code, then inspect the VS Code output and the ZIP downloaded from the Azure Portal. Compare the deployed contents with the local bin/Release/net6.0 folder; done means the DLLs and functions are present after deployment or the failure produces a clear error.

Written by the indexing model from the issue text.

Description

Deploy fails, bin folder contents not uploaded. However, Azure console states, Deploy to app "spravzni" succeeded

I am in a war zone. I am blocked and must deploy this critical application to Azure ASAP.

  1. I was using vscode extension Azure Resources 0.8.4. After reading this response from Microsoft I uninstalled all Azure extensions and used the command line to install version 0.8.0 ms-azuretools.vscode-azureresourcegroups-0.8.0.vsix

  2. After installing 0.8.0 I had the same results. Success reported but the bin folder was not uploaded.

  3. I used the Azure Portal feature on the Azure Function to download the Content. All the function definitions are in the downloaded .zip file, but the bin folder with all dll's is missing.

  4. I have never had any issues deploying to Azure Functions. This application runs perfectly on my local machine. This application builds without any warnings or errors.

  5. If I navigate to the \bin\Release\net6.0 folder all of the dll's are present and the bin folder is present with all of the contents.

For some unknow reason, the contents of the bin folder are not being upload. Or possibly the bin folder is upload but then Azure Cloud fails to property configure or install the dll's correctly.

No errors are report in the Azure Portal, or in the vscode console.

We greatly appreciate and thank you for trying to help us install the application.

Azure Resources 0.8.0
Azure Functions 1.13.3

Visual Studio Code
Version: 1.85.1 (user setup)
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:49:37.021Z (2 mos ago)
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

You can see that no errors are reported. Yet, no functions are listed here, or in the Azure portal.

no errors and no functions

Dominant language
TypeScript
Stars
319
Forks
158
Avg merge
2d 13h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-azurefunctions

All issues in microsoft/vscode-azurefunctions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.