Skip to content

dotnet build doesn't produce mountable ZIP file #10240

@RyanHill-MSFT

Description

@RyanHill-MSFT

Steps to reproduce

See https://github.com/fnbk/world/blob/master/README.md. Originated from https://stackoverflow.com/questions/55786610/deploying-zip-file-to-azure-app-services-not-working

Expected behavior

A zip file containing the contents of wwwroot that could then be mountable by az webapp

Actual behavior

ZIP file is created with a folder structure that mimics the directory structure of the intended files. See illustration below.

image

Environment data

dotnet --info output:

.NET Core SDK (reflecting any global.json):
Version: 2.2.300-preview-010046
Commit: d6f4b3d

Runtime Environment:
OS Name: Windows
OS Version: 10.0.18886
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.2.300-preview-010046\

Host (useful for support):
Version: 2.2.4
Commit: f95848e524

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions