Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DLL Paths in Project Folders
#3
I encountered an issue where the paths of the DLLs in the LA portable version project and the paths of the DLLs in the LA installed version project changed, forcing me to manually adjust the paths.

LA portable version:
/*/ role exeProgram; outputPath C:\_WwBot; r %folders.Workspace%\dll\Markdig.dll;  /*/ 

LA installed version
/*/ role exeProgram; outputPath C:\_WwBot; r %folders.Workspace%\files\bot\WwBot\@WwBot\dll\Markdig.dll; /*/ 

In the Linpad .linq files, there are two types of supported paths: relative paths and absolute paths, which played a role in solving the above problem.

My suggestion: If the DLL is located in the project folder, I can use the following code to ensure uniform relative paths in both the LA portable and installed versions.

/*/ role exeProgram; outputPath C:\_WwBot; r dll\Markdig.dll;  /*/ //in dll folder
/*/ role exeProgram; outputPath C:\_WwBot; r Markdig.dll;  /*/


Messages In This Thread
DLL Paths in Project Folders - by Davider - 04-27-2024, 10:34 AM
RE: DLL Paths in Project Folders - by Davider - 04-28-2024, 12:55 AM
RE: DLL Paths in Project Folders - by Davider - 04-30-2024, 10:22 PM
RE: DLL Paths in Project Folders - by Davider - 07-15-2024, 12:37 AM
RE: DLL Paths in Project Folders - by Gintaras - 07-15-2024, 05:31 AM
RE: DLL Paths in Project Folders - by Davider - 07-15-2024, 06:26 AM
RE: DLL Paths in Project Folders - by Gintaras - 07-15-2024, 06:38 AM
RE: DLL Paths in Project Folders - by Davider - 07-15-2024, 06:41 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)