Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a setting to force recompilation?
Message
From
09/02/2010 12:33:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01448363
Message ID:
01448404
Views:
41
>>>>>>Although 'recompile all' is checked on project build, sometimes the code isn't rebuilt and I need to compile explicitly using 'compile' command. Is there a setting somewhere that would make 'Recompile all' work as it is intented to do?
>>>>>>TIA
>>>>>>
>>>>>>Cetin
>>>>>
>>>>>One way for PRG files would be to delete all FXP.
>>>>
>>>>:) That is not the answer to my question. If I would remember and do that each time I could run 'compile' explicitly too. Thanks anyway.
>>>>Cetin
>>>
>>>
>>>How about to use a Project Hook class and delete all compiled code in BeforeBuild event?
>>
>>I have never used ProjectHook before. Now I would think of if I would write a simple program that would recompile all before build or first learn how to use ProjectHook:)
>>
>>I am afraid there is not a setting as I wished.
>>Cetin
>
>No there is not, but you could clear all code you need there.
>As I said to Naomi, you could delete ALL FXP, and clear ALL ObjCode field in the SCX/VCX.
>NOT TESTED AT ALL!!!!!

I wouldn't delete the code but Compile explicitly:)

Compile xx.prg
Compile form yy.scx
Compile Classlib zz.vcx
...

It works right when I do 'compile' explicitly.

You know what, I could write that little prg in the time I created this question on UT:) Wished there were something I am missing all this time.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform