dotnet restore not using PackageReference condition
问题 my project has multiple target frameworks, 2 of the package reference need to use a different version for .net461 when building in VS 2017 everything works and the dependency shows using the right versions. but when build using dotnet cli, the dependency shows the wrong version is being use for .net461. is this a bug in dotnet cli? I also try putting those 2 pkg in another ItemGroup tag with condition but still the same update: for anyone else running in to this issue, I ended up using