Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[WIP] dotnet cache host work#1109

Closed
schellap wants to merge 2 commits into
dotnet:masterfrom
schellap:cache
Closed

[WIP] dotnet cache host work#1109
schellap wants to merge 2 commits into
dotnet:masterfrom
schellap:cache

Conversation

@schellap
Copy link
Copy Markdown

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.

{
    "tfm": "netcoreapp1.1"
}

@schellap
Copy link
Copy Markdown
Author

Cc @gkhanna79

Comment thread src/corehost/cli/args.cpp
@@ -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.

This comment was marked as spam.

This comment was marked as spam.

Comment thread src/corehost/cli/args.h
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.

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.

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.


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.

@ramarag
Copy link
Copy Markdown
Member

ramarag commented Feb 1, 2017

#1330 is incorporating this change

@ramarag ramarag closed this Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants