title: Question about the Import tag inside a csproj file
body: <p>Inside my project I have a csproj file where at the top of the file it says:</p>
  <pre><code>&lt;Import Project=&quot;..\packages\Grpc.Tools.2.31.0\build\Grpc.Tools.props&quot; Condition=&quot;Exists('..\packages\Grpc.Tools.2.31.0\build\Grpc.Tools.props')&quot; /&gt;
  </code></pre>
  <p>and at the bottom of the file:</p>
  <pre><code>  &lt;Target Name=&quot;EnsureNuGetPackageBuildImports&quot; BeforeTargets=&quot;PrepareForBuild&quot;&gt;
      &lt;PropertyGroup&gt;
        &lt;ErrorText&gt;This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.&lt;/ErrorText&gt;
      &lt;/PropertyGroup&gt;
      &lt;Error Condition=&quot;!Exists('..\packages\Grpc.Tools.2.31.0\build\Grpc.Tools.props')&quot; Text=&quot;$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.2.31.0\build\Grpc.Tools.props'))&quot; /&gt;
    &lt;/Target&gt;
  </code></pre>
  <p>I have a little bit of an issue here with this package that is being imported. It is not being recognized in fact it does not even appear in the references tab for the project. The error message shown inside the <code>ErrorText</code> Tag gets printed when trying to compile the project. When I comment those lines out and rebuild the project, then all works fine again. I tried to restore the nuget packages but I just get shown the message that all nuget packages are up to date.</p>
  <p>My question is:</p>
  <p><strong>Are the lines above inserted automatically for you or is there a possibility that someone could have written those lines manually inside the file?</strong></p>