LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot build my application after updating an assembly version number.

Hi NG,

I have a strange build issue with LabVIEW 8.5 that I could not get
solved:

I have a LabVIEW App. that uses a strong named assembly that I wrote.
After I made an update to the Assembly version number (2 entries in
GAC),
LabVIEW tells me that there is a new version of the assembly and the
references have been updated automatically.
However, when I save the changes I get another warning telling that
the assembly location has changed from [vi path]\<gac>\[assembly name]
to <gac>\[assembly] and this warning appears every time I save changes
to the vi.
Despite I can run the app successfully out of LabVIEW (Prof.) I cannot
build an executable because
the dependency checker warns about the same issue (file not
found...).

Maybe it helps to put the warning message (on each file save) into
this thread:

c:\LabVIEW 8.5\instr.lib\czFramework Driver\cz_Unit\RefNum
AbstractSpectrometer.ctl
- The .NET assembly expected to be at "e:\LabVIEW 8.5\instr.lib
\czFramework Driver\cz_Unit\RefNum AbstractSpectrometer.ctl\<GAC>
\CZFramework" was loaded from "<GAC>\CZFramework".


Error on each build:

Error copying files.
Source: e:\LabVIEW 8.5\instr.lib\czFramework Driver\cz_Unit\RefNum
AbstractSpectrometer.ctl\<GAC>\CZFramework
Destination: E:\LabVIEW 8.5\instr.lib\czFramework Driver\builds
\Untitled Project 2\My Application\data\data\CZFramework

I tried several situations of updating the ref (with old assembly
installed and not installed) but everything fails.

How can I build an application after a reference assembly was updated?

Thanks for your help!

Best Regards,

Sebastian Dau [MCPD]

0 Kudos
Message 1 of 2
(2,608 Views)
Duplicate post to another duplicate post.

Please stop posting the same issue more than once.
0 Kudos
Message 2 of 2
(2,594 Views)