It looks like Store wasn't doing the right thing for test projects. Rather than storing the just
built NCA package it was using the one the targets injected (EG: the one in the Tools CLI).
Commit migrated from https://github.com/dotnet/core-setup/commit/
f242fcbf3c88d74debe561289e91f7c5f464572b
storeArgs.Add("--working-dir");
storeArgs.Add("store_workin_dir");
+ storeArgs.Add($"/p:MNAVersion={_repoDirectoriesProvider.MicrosoftNETCoreAppVersion}");
+
dotnet.Store(storeArgs.ToArray())
.WorkingDirectory(_testProject.ProjectDirectory)
.Environment("NUGET_PACKAGES", _repoDirectoriesProvider.NugetPackages)