Do you have to point to the framework again when you are actually building the application or when you are running it? It's a little unclear where exactly the error is occurring. However, I think you have a couple of options here.
One option is to use the Call Library Function Node in your code. The Shared Library Import Wizard (new to 8.20) is described in this
tutorial.
There is also an option to create a Universal Binary application or framework, which is detailed in this
KB.
I hope this helps. Please post back if this did not answer your question.
Lorielle P.
Applications Engineer
National Instruments