Cross-project references between two projects

后端 未结 8 1248
故里飘歌
故里飘歌 2020-12-01 07:55

Is it possible to make a reference between two TypeScript projects? Assume we have the following project structure:

8条回答
  •  天命终不由人
    2020-12-01 08:23

    Frustrated with the state of affairs, I wrote a NuGet package that mostly solves this problem. Using the NuGet package you can just add a reference from one project to another and it will do the work of copying files around in a way that is safe from accidentally editing the wrong file and still gives intellisense and debugging.

    Details can be found in the Readme.md, or you can just install the NuGet package and run (I recommend at least reading the how to use section).

    https://github.com/Zoltu/BuildTools.TypeScript.FromReferences

提交回复
热议问题