Skip to content

az bot prepare-deploy changes assembly name to lowercase #11390

Description

Describe the bug

Command Name
az bot prepare-deploy

A command like this:

az bot prepare-deploy --lang Csharp --code-dir "." --proj-file-path "CoreBot1.csproj"

will create a .deployment file like this:

[config]
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore "corebot1.csproj"

This will affect the deployment by using that lowercase version of the assembly name in all published files, so the deployed code will run with the assembly name corebot1 instead of CoreBot1. This will prevent resource paths from working. At least one customer has encountered this issue.

To Reproduce:

Follow these instructions for C#: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli

Expected Behavior

The generated .deployment file should contain the correct assembly name.

Environment Summary

Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.75 *

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions