[WIP] dotnet cache host work#1109
Conversation
|
Cc @gkhanna79 |
| @@ -96,5 +139,7 @@ bool parse_arguments( | |||
| pal::getenv(_X("DOTNET_HOSTING_OPTIMIZATION_CACHE"), &args.dotnet_packages_cache); | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| static probe_config_t svc_ni(const pal::string_t& dir) | ||
| { | ||
| return probe_config_t(dir, false, patch_roll_fwd, prerelease_roll_fwd, nullptr, true, true); | ||
| return probe_config_t(dir, false, nullptr, true, true, false); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| bool deps_resolver_t::probe_entry_in_configs(const deps_entry_t& entry, pal::string_t* candidate) | ||
| /** | ||
| * Given a deps entry, do a probe (lookup) for the file, based on the probe config. | ||
| * -- When match hash is specified, the nuget cache SHA is matched. See .sha512 files in %USERPROFILE%\.nuget. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| trace::verbose(_X(" Skipping... probe in deps json failed")); | ||
| } | ||
| else if (!config.is_roll_fwd_set()) | ||
| else if (config.probe_publish_dir) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| make_clrstr_arr(input->config_keys.len, input->config_keys.arr, &init->cfg_keys); | ||
| make_clrstr_arr(input->config_values.len, input->config_values.arr, &init->cfg_values); | ||
| if (input->version_lo >= offsetof(host_interface_t, host_mode) + sizeof(input->host_mode)) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
#1330 is incorporating this change |
Cc @ramarag, please use this runtime for your work.
The "tfm" property needs to be specified in the app.runtimeconfig.json once you publish with filter profile.