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 *
Describe the bug
Command Name
az bot prepare-deployA command like this:
will create a .deployment file like this:
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
corebot1instead ofCoreBot1. 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