vipm-io / dragon-desktop

All software has bugs. So does Dragon. Thanks for your help reporting them! We hope to squash them all :)
https://dragon.vipm.io
0 stars 0 forks source link

Dragon doesn't find NI Package Dependencies on LabVIEW version's before (<) 2023 #12

Open jimkring opened 5 months ago

jimkring commented 5 months ago

Issue

When scanning for dependencies in LabVIEW version 2020-2022, Dragon does not automatically discover dependencies on NI Packages like ni-daqmx, ni-scope, etc.

Root Cause

The ni-labview-project-dependency-support package needs to be installed with NIPM, and is only available if you have LabVIEW 2023 or greater installed.

Work-around

Option 1 - Install Package File Manually

Download NIPKG File: ni-labview-project-dependency-support_23.3.0.49220-0+f68_windows_x64.nipkg (or newer version)

Install NIPKG Manually: double-click on the package to start the install process via the GUI.

Option 1 - Add Package File and Feed to your project's .dragon file (once)

You can also add the following to your project's .dragon file and Dragon will suggest installing it when you open your project:

[nipm.dependencies]
ni-labview-project-dependency-support = { version = "23.3.0.49220-0+f68", feed = "ni-labview-2023-core-en-2023 Q1-released" }

[nipm.feeds]
"ni-labview-2023-core-en-2023 Q3-released" = "https://download.ni.com/support/nipkg/products/ni-l/ni-labview-2023/23.3/released"