01-30-2015 06:59 AM
I'm trying to build a project programmatically. The "Add Files to Project" example VI is a really good start but I'm trying to take it further. However, I'm struggling! I'd like to add a build specification under "Build Specifications", akin to right-clicking on "Build Specifications" and selecting "New">"Application (EXE)", and configuring it appropriately. I'am using tag prorperty node mechanism to set all the things I need. But when adding TopLevel source file I have a problem. When creating build script by hand. and set the Toplevel source file there is an extra source introcduced but i have no clue where it comes from. In the XML file it looks likes this. The Red Part is introduced when adding toplevel VI.
<Item Name="Build Specifications" Type="Build">
<Item Name="My Application" Type="EXE">
<Property Name="App_serverConfig.httpPort" Type="Int">8002</Property>
<Property Name="Bld_autoIncrement" Type="Bool">true</Property>
<Property Name="Bld_buildSpecDescription" Type="Str">My Application ...</Property>
<Property Name="Bld_buildSpecName" Type="Str">My Application</Property>
.....
.....
<Property Name="Source[0].itemID" Type="Str">{7CF5614F-E89B-470F-A9B5-75E155180217}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/#_Startup.vi</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">VI</Property>
.....
.....
Can anyone tell me which itemID from project this is.
Thanks
Fred (CLA)
04-28-2015 04:34 AM
Hi Fred
I am currently trying to replicate this issue to be able to provide some assistance. I know this was posted a while back, but is the issue persisting?
Regards
J
05-19-2015 07:11 AM
Issue is still there, no solution found.