title: TypeScript code reference to other VS-Project: What is missing?
body: <p>I have two independend Visual Studio projects both containing TypeScript code. Now I want to re-use some code from one project in the other. I have read about the possiblities and I think in my case I should use option 1 from here: <a href="https://stackoverflow.com/questions/21233108/cross-project-references-between-two-projects">Stackoverflow: cross project references between two projects</a>.</p>
  <p>However I followed the required steps, but I still have the issue, that the referenced code is not recognized neither by code editor nor by compiler. The reported error is &quot;TS2552: Cannot find name 'TypeA'&quot;.</p>
  <p>My project structure looks like this:</p>
  <p><a href="https://i.stack.imgur.com/TvMjR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TvMjR.png" alt="enter image description here" /></a></p>
  <p>FileA:</p>
  <p><a href="https://i.stack.imgur.com/Hh95K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hh95K.png" alt="enter image description here" /></a></p>
  <p>FileC:</p>
  <p><a href="https://i.stack.imgur.com/3t6Lz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3t6Lz.png" alt="enter image description here" /></a></p>
  <p>tsConfig from ProjA:</p>
  <p><a href="https://i.stack.imgur.com/jRgoI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jRgoI.png" alt="enter image description here" /></a></p>
  <p>tsConfig from ProjC:</p>
  <p><a href="https://i.stack.imgur.com/fwlL1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fwlL1.png" alt="enter image description here" /></a></p>
  <p>So, obviously I miss something, but I cannot see what it is. Can you please advice so I can compile ProjC?</p>
  <p>Hint: I used 'module' instead of 'namespace' because the real target project files are written with modules and are not subject to change.</p>