User Mohan in the NI Forums posted the answer there.
One option in visual studio needs to be changed so CVI can import the file:
Properties
-> General
-> Whole Program Optimization
Default is: "Use Link Time Code Generation
"
Has to be changed to: "No Whole Program Optimization
"