I have this in my Visual Studio project
<Target Name="BeforeBuild"> <Message Text="Compiling TypeScript files" /> <Message Text="Executing tsc$(TypeScriptSourceMap) @(TypeScriptCompile ->'"%(fullpath)"', ' ')" /> <Exec Command="tsc$(TypeScriptSourceMap) @(TypeScriptCompile ->'"%(fullpath)"', ' ')" IgnoreExitCode="true" /> </Target>
I want to execute the material in <Target Name="BeforeBuild"></Target> if the Configuration Debug and Platform are AnyCPU. Is this possible, and if so, how is this done?
source share