Botframework-composer: Cannot run 'update-schema' after runtime updating to '4.12.0-daily*'

Created on 21 Jan 2021  路  2Comments  路  Source: microsoft/BotFramework-Composer

Describe the bug

Problem

Cannot run the update-schema script under the schemas/ folder after ejected the runtime instance.
It will fail silently:
image

Cause

In #5529 , runtime's dependencies were updated to 4.12.0-daily*, it caused the update-schema.sh script cannot reference the exact pacakge given the asterisk wildcard.

Workaround

Replace all appearances of 4.12.0-daily* to 4.12.0-daily (without *) accross all csproj files can bypass this issue.
image

For a long term fix, we may need to update the source code bf dialog:merge command to match package names with asterisk.

Version

Browser

  • [ ] Electron distribution
  • [x] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [x] Windows
  • [ ] Ubuntu
Bug

Most helpful comment

All 2 comments

I tried putting the references without the wildcard, but a nuget restore will mismatch and try to resolve its "best guess" which happens to be an ancient version from back in Oct. 2020. I'll go look at the bf-merge code.

Was this page helpful?
0 / 5 - 0 ratings