async Task <IEnumerable <PackageDescription> > GetPackagesToInstallAsync() { var scaffoldingConfig = await ScaffoldingConfig.LoadFromJsonAsync(); var frameworkVersion = project.TargetFramework.Id.Version; if (SupportPolicyVersion.TryCreateFromVersionString(frameworkVersion, out var policyVersion)) { if (scaffoldingConfig.TryGetPackagesForSupportPolicyVersion(policyVersion, out PackageDescription [] packageDescriptions))
public async void CanDeserializeConfig() { var config = await ScaffoldingConfig.LoadFromJsonAsync(); Assert.IsTrue(config.NetStandard20Packages.Any()); }