How to Change Output directory Of a Type Script File in Visual Studio 2013 -
i feel ridiculous asking because seems should simple, have been unable discover answer question.
i having script folder in c drive , project in d drive each time when made changes in (type script) application need same changes in c drive folder well, problematic.i need solution can refer c drive directory in visual studio , when compile application automatically make changes c drive script folder not 1 in application...
for example :- application type scripts in d:\webapp\scripts , want compile file @ c:\scripts\
or
is there option add js files solutions c drive without storing them in application folder.so can access c drive , compile them there only.
i have done
<itemgroup> <typescriptcompile include="$(projectdir)\**\*.ts" /> </itemgroup> <target name="beforebuild"> <exec command=""$(programfiles)\microsoft sdks\typescript\tsc" @(typescriptcompile ->'"%(fullpath)" --outdir myoutputdirectory', ' ')" /> </target>
and too:-
<propertygroup condition="'$(configuration)' == 'debug'"> <typescriptoutdir>my/dir</typescriptoutdir> </propertygroup> <propertygroup condition="'$(configuration)' == 'release'"> <typescriptoutdir>my/dir</typescriptoutdir> </propertygroup>
but problem remains same great full.....
Comments
Post a Comment