PDA

View Full Version : Build Question



mjcee
1 Aug 2016, 5:44 PM
Can you please tell me what changes you made to the Visual Studio build and publish processes to run sencha app build after it compiles the projects in the solution. There are situations where I do not want to run sencha app build.

mjcee
4 Aug 2016, 1:29 PM
I found what I was looking for. By eliminating the lines in the CustomBeforePublish section of the X.wpp.projects file (where X is the project name) in the project directory, the cmd command is not executed for the rebuild or publish commands. See an example of the CustomBeforePublish section below.

<Target Name="CustomBeforePublish">
<Exec Command="C:\Users\SystemAdmin\bin\Sencha\Cmd\6.1.3.42\sencha.exe app build" ConsoleToMSBuild="true" WorkingDirectory="C:\IQMBDev\IQMB\Sencha">
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
</Exec>
</Target>

aldrich
29 Aug 2016, 12:31 PM
How did you do this? I tried doing that and it just automatically changes the wpp file everytime I do a rebuild. Is there an option to turn this feature off? I just need intellisense...