11 references to InstallType
dotnet-aot (3)
src\sdk\src\Cli\dotnet\Commands\Workload\Install\WorkloadManifestUpdater.cs (1)
54
if (WorkloadInstallType.GetWorkloadInstallType(sdkFeatureBand, dotnetPath) ==
InstallType
.Msi)
src\sdk\src\Cli\dotnet\Commands\Workload\WorkloadInfoHelper.cs (1)
98
InstallType
.Msi => new ReadOnlyWindowsWorkloadInstallationRecordRepository(),
src\sdk\src\Cli\dotnet\Commands\Workload\WorkloadInstallDetector.cs (1)
41
InstallType
.Msi => HasMsiWorkloadRecords(sdkFeatureBand),
Microsoft.NET.Sdk.WorkloadManifestReader (8)
WorkloadInstallType.cs (8)
24
/// Determines the <see cref="
InstallType
"/> associated with a specific SDK version.
27
/// <returns>The <see cref="
InstallType
"/> associated with the SDK.</returns>
28
public static
InstallType
GetWorkloadInstallType(SdkFeatureBand sdkFeatureBand, string? dotnetDir) =>
31
?
InstallType
.Msi :
InstallType
.FileBased;
35
var
installType = GetWorkloadInstallType(sdkFeatureBand, dotnetDir);
38
if (dotnetDir is not null && installType ==
InstallType
.FileBased)
42
else if (installType ==
InstallType
.Msi)