typescript - Referenced files compiled to output on save, but ignored on rebuild -


i have solution 2 projects - 1 class library , 1 asp.net mvc project. class library project contains typescript file. asp.net mvc project contains typescript file references file in class library:

solution     classlibrary         scripts             basefile.ts     mvcproject         scripts             projectfile.ts 

projectfile.ts has ///reference declaration basefile.ts.

in mvcproject properties, under typescript build page, have checked compile on save, , set combine javascript output file: scripts\projectfile.js.

when edit projectfile.ts , save, output file in right place, emitted javascript referenced file (basefile.ts).

however, when rebuild solution, javascript referenced file not emitted projectfile.js, javascript projectfile.ts. (build alone doesn't seem affect file; timestamp remains same.)

i've tried including tsconfig.json in project, no avail.

i using visual studio 2015 community , typescript 1.5.4

how can resolve this?


update

the same thing (referenced files emitted on save, ignored on rebuild) when both files in mvcproject project.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -