title: Does Azure DevOps Server 2019 on-prem support yaml templates from another repository?
body: <p>I am going to start exactly the same as my other question (<a href="https://stackoverflow.com/questions/60571976/how-to-use-yaml-template-parameters-in-azure-devops-server-2019-on-prem">How to use yaml template parameters in Azure DevOps Server 2019 on-prem?</a>) - According to the official documentation at <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops-2019" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops-2019</a> the Azure DevOps Server 2019 on-prem supports everything.</p>
  
  <p>In particular, referencing yaml templates from another repository. However, trying to use it in practice fails with:</p>
  
  <pre><code>/azure-pipelines-common.yml: File /prepare-sonar-qube.yml not found in repository http://tdc1tfsapp01:8080/tfs/DefaultCollection/DFDevOps/_git/logs2db branch refs/heads/master version 0ba42f59f36e74ad4fe39e59e4e8a3a56a6e9ff0.
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/3Z3mQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Z3mQ.png" alt="enter image description here"></a></p>
  
  <p>Here is my yaml template:</p>
  
  <pre><code>trigger:
  - master
  
  name: 1.0.$(Date:yy)$(DayOfYear)$(Rev:.r)
  
  resources:
    repositories:
    - repository: templates
      type: git
      name: NewProductTemplate
      ref: refs/heads/shelve/yaml-templates
  
  jobs:
  - job: Build
    pool:
      demands: DotNetFramework
    workspace:
      clean: all
    variables:
    - template: variables.yml@templates
    steps:
    - template: azure-pipelines-common.yml
    - template: publish-nuget.yml@templates
    - template: publish-symbols.yml@templates
    - template: publish-code-coverage.yml@templates
    - template: promote-nuget.yml@templates
  </code></pre>
  
  <p>Am I doing something wrong or is this yet another case of misleading documentation?</p>