Page 1 of 1

Compressing web media block for .NET Framework once

Posted: Thu Mar 01, 2012 8:15 pm
by tofutim
I have .NET Framework Client 4 set as a pre-req and am targeting Web Deploy. Each time I build, IA12 insists on recompressing the bits for .NET Framework. Of course, this takes quite a long time. Is there any way to just have it done once? (In fact, once for all future .NET Framework Client 4 installs... though per project would be sufficient.) It is particular painful when the build fails for a simple reason, e.g., network drop unable to sign...
2012-03-01_1826.png
2012-03-01_1826.png (68.92 KiB) Viewed 4535 times
Thanks so much!

Re: Compressing web media block for .NET Framework once

Posted: Fri Mar 02, 2012 5:45 am
by FrancescoT
Dear user,

You can use Skip on Build option - (Press F1 in IA IDE for more info)

If files in your media block have not changed since the last time you built this setup, check this box to skip rebuilding this media block. Since media blocks are highly compressed, generating them takes time. This will save you time when you are testing and rebuilding your setup, and the media block in question has not been effected.


Regards

Re: Compressing web media block for .NET Framework once

Posted: Fri Mar 02, 2012 10:26 am
by tofutim
I figured this out after a bit. However, some bits for others that run into this. Each time Build happens, it will wipe out (erase everything from) your output directory. If you want to keep the compressed web media blocks, you need to move them somewhere else. When the word "skip" is used, I kind of expect the old files to stay in the directory, but they don't.

Re: Compressing web media block for .NET Framework once

Posted: Fri Mar 02, 2012 12:08 pm
by FrancescoT
That's true, but it is also true that if use this option with your build, it is because you should not need those files with the build.

Regards