106 references to Log
dotnet (106)
Commands\Workload\Install\MsiInstallerBase.cs (16)
398
Log
?.LogMessage($"Moved '{sourceFile}' to '{destinationFile}'");
410
return Path.Combine(Path.GetDirectoryName(
Log
.LogPath),
411
Path.GetFileNameWithoutExtension(
Log
.LogPath) + $"_{packInfo.ResolvedPackageId}-{packInfo.Version}_{action}.log");
422
return Path.Combine(Path.GetDirectoryName(
Log
.LogPath),
423
Path.GetFileNameWithoutExtension(
Log
.LogPath) + $"_{msi.Manifest.Payload}_{action}.log");
434
return Path.Combine(Path.GetDirectoryName(
Log
.LogPath),
435
Path.GetFileNameWithoutExtension(
Log
.LogPath) + $"_{productCode}_{action}.log");
445
return Path.Combine(Path.GetDirectoryName(
Log
.LogPath),
446
Path.GetFileNameWithoutExtension(
Log
.LogPath) + $"_{Path.GetFileNameWithoutExtension(msiPath)}_AdminInstall.log");
457
return Path.Combine(Path.GetDirectoryName(
Log
.LogPath),
458
Path.GetFileNameWithoutExtension(
Log
.LogPath) + $"_{record.MsiId}-{record.MsiNuGetVersion}_{action}.log");
506
Log
?.LogMessage($"Dependent already exists, {providerKeyName} won't be modified.");
512
Log
?.LogMessage($"Dependent doesn't exist, {providerKeyName} won't be modified.");
522
Log
?.LogMessage($"Removing dependent '{dependent}' from provider '{providerKeyName}'");
529
Log
?.LogMessage($"Registering dependent '{dependent}' on provider '{providerKeyName}'");
555
Log
?.LogMessage($"Install state file does not exist: {path}");
Commands\Workload\Install\NetSdkMsiInstallerClient.cs (60)
59
Log
?.LogMessage($"Executing: {Microsoft.DotNet.Cli.Utils.Windows.GetProcessCommandLine()}, PID: {CurrentProcess.Id}, PPID: {ParentProcess.Id}");
60
Log
?.LogMessage($"{nameof(IsElevated)}: {IsElevated}");
61
Log
?.LogMessage($"{nameof(Is64BitProcess)}: {Is64BitProcess}");
62
Log
?.LogMessage($"{nameof(RebootPending)}: {RebootPending}");
63
Log
?.LogMessage($"{nameof(ProcessorArchitecture)}: {ProcessorArchitecture}");
64
Log
?.LogMessage($"{nameof(HostArchitecture)}: {HostArchitecture}");
65
Log
?.LogMessage($"{nameof(SdkDirectory)}: {SdkDirectory}");
66
Log
?.LogMessage($"{nameof(VerifySignatures)}: {VerifySignatures}");
67
Log
?.LogMessage($"SDK feature band: {_sdkFeatureBand}");
125
Log
?.LogMessage($"Starting garbage collection.");
126
Log
?.LogMessage($"Garbage Collection Mode: CleanAllPacks={cleanAllPacks}.");
131
getResolverForWorkloadSet, globalJsonWorkloadSetVersions, new SetupLogReporter(
Log
));
134
IEnumerable<SdkFeatureBand> installedFeatureBands = GetInstalledFeatureBands(
Log
);
165
Log
?.LogMessage($"Evaluating dependents for workload set, dependent: {depProvider}, Version: {workloadSetRecord.WorkloadSetVersion}, Feature Band: {workloadSetRecord.WorkloadSetFeatureBand}");
174
Log
?.LogMessage($"Workload set {workloadSetRecord.WorkloadSetVersion}/{workloadSetRecord.WorkloadSetFeatureBand} will not be removed because other dependents remain: {string.Join(", ", remainingDependents)}.");
179
Log
?.LogMessage($"Removing workload set {workloadSetRecord.WorkloadSetVersion}/{workloadSetRecord.WorkloadSetFeatureBand} as no dependents remain.");
214
Log
?.LogMessage($"Evaluating dependents for workload manifest, dependent: {depProvider}, ID: {manifestRecord.ManifestId}, Version: {manifestRecord.ManifestVersion}, Feature Band: {manifestRecord.ManifestFeatureBand}");
223
Log
?.LogMessage($"{manifestRecord.ManifestId} {manifestRecord.ManifestVersion}/{manifestRecord.ManifestFeatureBand} will not be removed because other dependents remain: {string.Join(", ", remainingDependents)}.");
228
Log
?.LogMessage($"Removing {manifestRecord.ManifestId} {manifestRecord.ManifestVersion}/{manifestRecord.ManifestFeatureBand} as no dependents remain.");
275
Log
?.LogMessage($"Evaluating dependents for workload pack, dependent: {depProvider}, MSI ID: {packRecord.MsiId}, MSI version: {packRecord.MsiNuGetVersion}");
284
Log
?.LogMessage($"{packRecord.MsiId} ({packRecord.MsiNuGetVersion}) will not be removed because other dependents remain: {string.Join(", ", remainingDependents)}.");
289
Log
?.LogMessage($"Removing {packRecord.MsiId} ({packRecord.MsiNuGetVersion}) as no dependents remain.");
354
Log
?.LogMessage($"Resolving Microsoft.NET.Workloads ({workloadSetVersion}) to {msiPackageId} ({msiPackageVersion}).");
397
Log
?.LogMessage($"Skipping dependent: {dependent}");
408
Log
?.LogMessage($"Dependent '{dependent}' was not removed because {reason}");
412
Log
?.LogMessage($"Removing dependent '{dependent}' from provider key '{depProvider.ProviderKeyName}' because {reason}");
418
Log
?.LogMessage($"{e.Message}");
419
Log
?.LogMessage($"{e.StackTrace}");
437
Log
?.LogMessage($"ProductCode mismatch! Cached package: {msi.ProductCode}, workload set record: {record.ProductCode}.");
463
Log
?.LogMessage($"ProductCode mismatch! Cached package: {msi.ProductCode}, manifest record: {record.ProductCode}.");
497
Log
?.LogMessage($"ProductCode mismatch! Cached package: {msi.ProductCode}, pack record: {record.ProductCode}.");
520
Log
?.LogMessage($"Attempting to delete all workload msi installation records.");
524
Log
?.LogMessage($"Detected band with installation record: '{potentialBandToClean}'.");
529
Log
?.LogMessage($"Workload {workloadInstallationRecordId} for '{potentialBandToClean}' has been marked for deletion.");
533
Log
?.LogMessage($"No more workloads detected in band: '{potentialBandToClean}'.");
567
Log
?.LogMessage($"Installing manifest: Id: {manifestUpdate.ManifestId}, version: {manifestUpdate.NewVersion}, feature band: {manifestUpdate.NewFeatureBand}.");
573
Log
?.LogMessage($"Resolving {manifestUpdate.ManifestId} ({manifestUpdate.NewVersion}) to {msiPackageId} ({msiPackageVersion}).");
661
Log
?.LogMessage($"The workload with id: {workload} was detected as being from VS only and having no SDK records. Creating one now under feature band {_sdkFeatureBand}.");
671
Log
?.LogMessage($"Rolling back workload pack installation for {msiToRollback.NuGetPackageId}.");
686
Log
?.LogMessage($"Cannot remove pack, other dependents remain: {string.Join(", ", depProvider.Dependents)}.");
700
Log
?.LogMessage("Rollback completed.");
716
Log
?.LogMessage("Shutting down");
727
Log
?.LogMessage("Shutdown completed.");
728
Log
?.LogMessage($"Restart required: {Restart}");
729
((TimestampedFileLogger)
Log
).Dispose();
749
Log
?.LogMessage($"ExtractManifestAsync: Extracting '{nupkgPath}' to '{targetPath}'");
754
Log
?.LogMessage($"ExtractManifestAsync: Temporary extraction path: '{extractionPath}'");
764
Log
?.LogMessage($"ExtractManifestAsync: Copying manifest from '{extractionPath}' to '{targetPath}'");
782
Log
?.LogMessage($"ExtractManifestAsync: Running admin install for '{msiExtractionPath}'. Log file: '{adminInstallLog}'");
790
Log
?.LogMessage($"ExtractManifestAsync: Admin install failed: {result}");
823
Log
?.LogMessage($"{nameof(PackInfo)}: {nameof(packInfo.Id)}: {packInfo.Id}, {nameof(packInfo.Kind)}: {packInfo.Kind}, {nameof(packInfo.Version)}: {packInfo.Version}, {nameof(packInfo.ResolvedPackageId)}: {packInfo.ResolvedPackageId}");
847
Log
?.LogMessage($"DetectPackage: Failed to parse version: {versionValue}.");
851
Log
?.LogMessage($"DetectPackage: ProductCode: {productCode}, version: {installedVersion?.ToString() ?? "n/a"}, state: {state}.");
878
Log
?.LogMessage($"PlanPackage: Begin, name: {msi.Name}, version: {msi.ProductVersion}, state: {state}, installed version: {installedVersion?.ToString() ?? "n/a"}, requested: {requestedAction}.");
905
Log
?.LogMessage($"PlanPackage: Completed, name: {msi.Name}, version: {msi.ProductVersion}, state: {state}, installed version: {installedVersion?.ToString() ?? "n/a"}, requested: {requestedAction}, planned: {plannedAction}.");
940
Log
?.LogMessage($"Downloaded {packageId} ({packageVersion}) to '{packagePath}");
945
Log
?.LogMessage($"Using offline cache, package: {packagePath}");
957
Log
?.LogMessage($"Extracting '{packageId}' to '{extractionDirectory}'");
1162
Log
?.LogMessage($"OnProcessExit: Shutdown failed, {ex.Message}");
1166
if (
Log
is IDisposable tfl)
Commands\Workload\Install\NetSdkMsiInstallerClient.InstallRecords.cs (17)
22
Log
?.LogMessage($"Detecting installed workload sets for {HostArchitecture}.");
49
Log
.LogMessage($"Found workload set record, version: {workloadSetVersion}, feature band: {workloadSetFeatureBand}, ProductCode: {record.ProductCode}, provider key: {record.ProviderKeyName}");
84
Log
?.LogMessage($"Detecting installed workload manifests for {HostArchitecture}.");
99
Log
.LogMessage($"Found apparent manifest package ID '{manifestPackageId} which did not correctly parse into manifest ID and feature band.");
122
Log
.LogMessage($"Found workload manifest record, Id: {manifestId}, version: {manifestVersion}, feature band: {manifestFeatureBand}, ProductCode: {record.ProductCode}, provider key: {record.ProviderKeyName}");
141
Log
.LogMessage($"Skipping invalid feature band version folder: {manifestFeatureBandFolder}");
165
Log
.LogMessage($"Discovered manifest installation in {manifestVersionFolder} which didn't have corresponding installation record in Registry");
172
Log
.LogMessage($"Looking for upgrade code {upgradeCode} for {uuidName}");
199
Log
.LogMessage($"Found installed manifest: {manifestRecord.ProviderKeyName}, {manifestRecord.ProductCode}");
203
Log
.LogMessage($"Found multiple product codes for {uuidName}, which is not expected for side-by-side manifests: {string.Join(' ', relatedProductCodes)}");
207
Log
.LogMessage($"Found manifest on disk for {uuidName}, but did not find installation information in registry.");
213
Log
.LogMessage($"Skipping invalid manifest version for {manifestVersionFolder}");
219
Log
.LogMessage($"Skipping unknown manifest ID {lowerCasedManifestID}.");
304
Log
?.LogMessage($"Detecting installed workload packs for {HostArchitecture}.");
336
Log
?.LogMessage($"Found workload pack record, Id: {packId}, version: {packVersion}, ProductCode: {record.ProductCode}, provider key: {record.ProviderKeyName}");
363
Log
?.LogMessage($"Found workload pack group record, Id: {packGroupId}, version: {packGroupVersion}, ProductCode: {record.ProductCode}, provider key: {record.ProviderKeyName}");
371
Log
?.LogMessage($"Found workload pack in group, Id: {packId}, version: {packVersion}");
Commands\Workload\Install\NetSdkMsiInstallerServer.cs (1)
151
Log
?.LogMessage("Shutting down server.");
Commands\Workload\Install\WorkloadInstallRecords\RegistryWorkloadInstallationRecordRepository.cs (3)
57
Log
?.LogMessage($"Deleting {workloadInstallationKeyName}");
101
Log
?.LogMessage($"Creating {subkeyName}");
106
Log
?.LogMessage($"Failed to create {subkeyName}");
Installer\Windows\InstallerBase.cs (3)
179
Log
?.LogMessage($"{message} Error: 0x{error:x8}.");
192
Log
?.LogMessage($"Exception: {exception.Message}, HResult: 0x{exception.HResult:x8}.");
193
Log
?.LogMessage($"{exception.StackTrace}");
Installer\Windows\MsiPackageCache.cs (6)
73
SecurityUtils.MoveAndSecureFile(manifestPath, cachedManifestPath,
Log
);
74
SecurityUtils.MoveAndSecureFile(msiPath, cachedMsiPath,
Log
);
126
Log
?.LogMessage($"MSI manifest file does not exist, '{manifestPath}'");
137
Log
?.LogMessage($"MSI package not found, '{possibleMsiPath}'");
173
Log
?.LogMessage($"Successfully verified Authenticode signature for {msiPath}");
179
Log
?.LogMessage($"Skipping signature verification for {msiPath}.");