visual studio - Is it possible to reference typescript files in other projects without adding projects to the solution? -


in large scale software, it's idea break code projects. example, have framework project contains base classes in project called company.framework , other projects uses shared codes company.producta, company.productb.

is possible reference .ts files in other projects, example referencing dll, not adding project, framework project can hidden business developers.

the question how reference .ts files in other projects without adding projects solution. example adding dlls.

i'm sure know this, typescript files (.ts) compiled javascript files (.js). neither typescript files nor generated javascript files end inside dll. dll contains server-side code only, , typescript/javascript client-side code.

so, trying add reference producta project dll framework project not going pull in typescript files in framework project.

as long final rendered html page includes tags both generated javascript both projecta framework, work fine, if 2 projects have no connection between them. if you're after visual studio intellisense framework classes while you're coding in typescript in projecta, should @wedneyyuri , @davidsherret suggested, add .d.ts file framework project projecta project.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -