Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-BcContainerAppRuntimePackage & IncludeSourceInPackageFile in BC25 #7967

Open
2 of 5 tasks
xtiche opened this issue Feb 12, 2025 · 0 comments
Open
2 of 5 tasks

Get-BcContainerAppRuntimePackage & IncludeSourceInPackageFile in BC25 #7967

xtiche opened this issue Feb 12, 2025 · 0 comments

Comments

@xtiche
Copy link

xtiche commented Feb 12, 2025

Please include the following with each issue:

1. Describe the bug
Describe the issue
After adding IncludeSourceInPackageFile = true, and adding includeSourceInSymbolFile in app.json, for RunTime package I see mark:
Image

File size for runtime packages was changed(become bigger), but cannot do "go do definition" and cannot see code during debug

Parameters

2. To Reproduce
Steps to reproduce the behavior:

  1. Create appA with
 "resourceExposurePolicy": {
    "allowDebugging": true,
    "includeSourceInSymbolFile": true
  },
  1. Run Get-BcContainerAppRuntimePackage with -IncludeSourceInPackageFile true
  2. Pulbishe .runtimeapp to some env
  3. Create appB with dependency on appA
  4. Download symbols
  5. Try to use "Go to definition" or debug code in appA

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.

3. Expected behavior
You can see source code during debug app, and use "Go to definition"
As it was described here
microsoft/navcontainerhelper#3160 (comment)

4. Actual behavior
VS Code pop-up error that object definition is not avalible

5. Versions:

The latest version (6.0.28) of BcContainerHelper module is already installed
BcContainerHelper version 6.0.28
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.20348.2760
LatestGenericTagVersion is 1.0.2.51
  • AL Language:
  • Visual Studio Code: -
  • Business Central: 25.1
  • List of Visual Studio Code extensions that you have installed: -
  • Operating System:
    • [ X ] Windows
    • Linux
    • MacOS

Final Checklist

Please remember to do the following:

  • Search the issue repository to ensure you are reporting a new issue

Found that it worked previously but don't work now - microsoft/navcontainerhelper#3160

  • Reproduce the issue after disabling all extensions except the AL Language extension

Reproduced same on new VM in Azure

  • Simplify your code around the issue to better isolate the problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant