From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(322 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
(305 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
(297 Views)

Build API?

0 Kudos
Message 4 of 6
(278 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
(241 Views)

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

0 Kudos
Message 6 of 6
(223 Views)