1

I have a program in WPF used to install a web ASP application on a server.

There are several steps to compile installer and I would like to make one solution.

Is it possible when I compile the solution, to execute custom code in order to minimize scripts and zip web application folders before compile installer project ?

Should I use pre-built events ?

For information the installer program is "home made" and I don't want to use another solution.

Thanks for your responses

user1069516
  • 443
  • 1
  • 7
  • 19
  • 1
    wouldn't the post build event be more appropriate – NtFreX Apr 11 '17 at 14:48
  • what is your question anyway? are you asking for an [Alternative to Pre/Post Build Events in Visual Studio](http://stackoverflow.com/questions/16550034/alternative-to-pre-post-build-events-in-visual-studio)? – NtFreX Apr 11 '17 at 14:50
  • I would like to execute code (in a class) for minimize scripts file and make a zip with bin, controller, views folders... when I compile ASP application and use the zip file to compile installer application – user1069516 Apr 11 '17 at 14:57
  • I found the solution, I use a msbuild Task which allow to execute code during compilation – user1069516 Apr 12 '17 at 07:35
  • https://msdn.microsoft.com/fr-fr/library/t9883dzc.aspx – user1069516 Apr 12 '17 at 08:02

0 Answers0