title: .NET Core RuntimeIdentifiers still required?
body: <p>I had a packager project that modified the .csproj of the main project file to make sure the <code>&lt;RuntimeIdentifiers&gt;</code> are properly set.  </p>
  
  <p>This project was in .NET Core 2.0, likely it was .NET Core 1.something when I first wrote that code.  </p>
  
  <p>However, now that I am rewriting it, I noticed it just works fine, if I don't set the <code>&lt;RuntimeIdentifiers&gt;</code> at all. Or in other words, <code>dotnet publish --runtime</code> seems to work just fine.</p>
  
  <p>As I can recall from various google search, <code>&lt;RuntimeIdentifiers&gt;</code> was needed, because we needed the packages to be available in <code>dotnet restore</code> time.  </p>
  
  <p>My theory is, <code>dotnet publish</code> now (.NET Core 2.1) restores the projects with the proper <code>RuntimeIdentifiers</code> so we don't need to set them anymore. Or I should still set it, because otherwise I can encounter unexpected issues?</p>