microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
293 stars 125 forks source link

Not finding installlApps code #184

Closed thomasbook closed 2 years ago

thomasbook commented 2 years ago

From the installing apps the Library is install, but not found when compiling?

setting.json { "country": "us", "appFolders": [ "./Service" ], "testFolders": [ "./ServiceTest" ], "installApps": [ "Service/.alpackages/Bison Technology_Bison Library_1.0.0.59.app" ]
}


    _____           _        _ _ _                                     
   |_   _|         | |      | | (_)                                    
     | |  _ __  ___| |_ __ _| | |_ _ __   __ _    __ _ _ __  _ __  ___ 
     | | | '_ \/ __| __/ _` | | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
    _| |_| | | \__ \ |_ (_| | | | | | | | (_| | | (_| | |_) | |_) \__ \
   |_____|_| |_|___/\__\__,_|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                                          __/ |       | |   | |        
                                         |___/        |_|   |_|        

  Publishing C:\ProgramData\BcContainerHelper\Extensions\bc2935047008\c6f07499-ab9a-4c7d-9fd0-fcdb60e5d00e\Bison Technology_Bison Library_1.0.0.59.app
  Synchronizing Bison Library on tenant default
  Installing Bison Library on tenant default
  App Bison Technology_Bison Library_1.0.0.59.app successfully published

  Installing apps took 13 seconds
Compiling apps

     _____                      _ _ _                                     
    / ____|                    (_) (_)                                    
   | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___ 
   | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
   | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
    \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                         | |                 __/ |       | |   | |        
                         |_|                |___/        |_|   |_|        

  Using Version 1.0.5.0

  Compiling D:\a\general-door\general-door\Service
  Using Symbols Folder: D:\a\general-door\general-door\.packages
  Downloading symbols: Microsoft_Application_20.4.44313.45517.app
  Url : http://172.29.212.43:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=1.0.0.0&tenant=default
  Adding dependency to System Application from Microsoft
  Adding dependency to Base Application from Microsoft
  Downloading symbols: Microsoft_System_20.0.44266.45461.app
  Url : http://172.29.212.43:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=1.0.0.0&tenant=default
  Downloading symbols: Bison Technology_Bison Library_1.0.0.59.app
  Url : http://172.29.212.43:7049/BC/dev/packages?publisher=Bison%20Technology&appName=Bison%20Libary&versionText=1.0.0.0&tenant=default
  Downloading symbols: Microsoft_System Application_20.4.44313.45517.app
  Url : http://172.29.212.43:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=20.4.0.0&tenant=default
  Downloading symbols: Microsoft_Base Application_20.4.44313.45517.app
  Url : http://172.29.212.43:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=20.4.0.0&tenant=default
  Compiling...
  .\alc.exe /project:"c:\sources\Service" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\Bison Technology_Hello World_1.0.5.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
  Microsoft (R) AL Compiler version 9.3.10.1758
  Copyright (C) Microsoft Corporation. All rights reserved

  Compilation started for project 'Hello World' containing '2' files at '16:24:03.438'.

  Error: AL0185 Table 'SetupBSNLIB' is missing

  Compilation ended at '16:24:09.705'.
freddydk commented 2 years ago

It looks like the library app is installed and the symbols are downloaded. I would not be able to determine what is wrong here without having access to the repo.

thomasbook commented 2 years ago

OK I'll move it over to a public repo and give you access.

freddydk commented 2 years ago

It doesn't need to be public for me to get access - you can just add me

freddydk commented 2 years ago

I downloaded the app you have in installapps - that app is empty - it doesn't contain any objects. Whether that is because you checked it in as source code - I don't know - normally, I would just reference the repo, where this DLL is build and AL-Go would automatically download it from there. Otherwise, put it in a storage account and specify a URL to the .app file.

thomasbook commented 2 years ago

Arr thank have it working now!!