ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launch external compiler before .exe build

I'm working on a project which uses some custom made .net assemblies.

I would like build the .net assemblies along with the LabView project VIs i.e. launch MsBuild before the LabView application is created and the Installer is packaged.

There's a chance to execute some custom code before the project itslef is built?

The only similar option I found is to 'Execute VI before build' (Pre/Post build actions page in .EXE build spec properties) but it sounds awful...

0 Kudos
Message 1 of 6
(1,031 Views)

@michele.santucci wrote:

The only similar option I found is to 'Execute VI before build' (Pre/Post build actions page in .EXE build spec properties) but it sounds awful...


That is the only way and it is awful...

Message 2 of 6
(1,014 Views)

Thinking about it for a while I suppose there are other ways. I doubt they are more convenient though.

 

1) I suppose you can use the build API to build. Then you can program anything you want around that...

2) I suppose you can use LV's CLI interface, and use another 'authoring' tool (this could be the command line or a power script, I think) to call the CLI to start LV's build.

 

You probably just waste your time going those routes...

Message 3 of 6
(1,006 Views)

Build API?

0 Kudos
Message 4 of 6
(987 Views)

Hi Michele,

 


@michele.santucci wrote:

Build API?


Yes, Build API:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(950 Views)

I see... too bad I cannot find examples... but it sounds promising.

0 Kudos
Message 6 of 6
(932 Views)