>How do you tell VFP to NOT scan the project looking for dependencies that it then automatically adds to the project?
>
>If you have one class or reference in the wrong place and you try to build a small little project VFP ends up finding that reference and ends up pulling code from other projects into this project. It's very handy behavior most of the time, but sometimes it's a giant PIA.
The only way is to use indirect references. E.g. instead of
DO FORM myForm ...
use
lcForm = 'MyForm.scx'
do form (m.lcForm) ...
If it's not broken, fix it until it is.
My Blog