As suggested by @annemartijn, but then without s
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
See the github question: https://github.com/dotnet/cli/issues/4619
.csproj:
<Project...
<Import...
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
...
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
</PropertyGroup>
...