Fix servicing policies

This commit is contained in:
Senthil 2016-04-12 12:09:18 -07:00
parent 1a0b9bba98
commit 62239926a8
2 changed files with 5 additions and 2 deletions

View file

@ -194,11 +194,13 @@ void deps_resolver_t::setup_probe_config(
if (pal::directory_exists(ext_ni))
{
// Servicing NI probe.
m_probes.push_back(probe_config_t::svc_ni(ext_ni, init.patch_roll_forward, init.prerelease_roll_forward));
m_probes.push_back(probe_config_t::svc_ni(ext_ni, false, false));
}
// Servicing normal probe.
m_probes.push_back(probe_config_t::svc(args.dotnet_extensions, init.patch_roll_forward, init.prerelease_roll_forward));
pal::string_t msil = args.dotnet_extensions;
append_path(&msil, _X("msil"));
m_probes.push_back(probe_config_t::svc(msil, false, false));
}
if (pal::directory_exists(args.dotnet_packages_cache))

View file

@ -73,6 +73,7 @@ pal::string_t fx_muxer_t::resolve_fx_dir(const pal::string_t& muxer_dir, runtime
ver.is_prerelease() && // prevent roll forward to production.
ver.get_major() == specified.get_major() &&
ver.get_minor() == specified.get_minor() &&
ver.get_patch() == specified.get_patch() &&
ver > specified)
{
// Pick the smallest prerelease that is greater than specified.