precompile.bat how it works?


https://forum.kartris.com/Topic2798.aspx
Print Topic | Close Window

By tasosdr - Fri 31 Jan 2014
I have noticed that in my version of Kartris (2.5004) there is a file called something like 'precompile.bat'.Though i can understand its purpose seems that I can not find anywere how to use it.
Is there any one can advise me about this?

Thank you in advance,



Tasos Drosiadis
By Paul - Fri 31 Jan 2014
I think this is quite an old file, there were a lot of changes to kartris since this was added so I am not even sure if it works anymore. The original idea was to be able to pre-compile kartris so you'd have a DLL with the codebehind rather than vb files. But we've generally found this unnecessary in practice. ASP.NET does a good job of compiling when the app starts up, and the flexibility of being able to drop in files to fix bugs or improve features in most cases trumps any performance gain possible. I might look at removing this file if it doesn't really add anything, especially if various design and structure changes mean it no longer works.
By tasosdr - Sat 1 Feb 2014
OK thanks,

thought it was something I had to do!