6 writes to netSdkPath
Microsoft.NET.ProjectData (6)
CachePathResolver.cs (6)
42 this.netSdkPath = null; 58 this.netSdkPath = this.LocateSdkPath(sdkVersion) ?? this.GuessSdkPath(sdkVersion); 76 this.netSdkPath = NormalizeFolderPath(sdkPath); 113 this.netSdkPath = NormalizeFolderPath(sdkPath); 118 this.netSdkPath = this.LocateSdkPath(sdkVersion) ?? this.GuessSdkPath(sdkVersion); 122 this.netSdkPath = null;
12 references to netSdkPath
Microsoft.NET.ProjectData (12)
CachePathResolver.cs (12)
77 this.dotnetRoots = AddSdkDotNetRoot(this.dotnetRoots, this.netSdkPath); 114 this.dotnetRoots = AddSdkDotNetRoot(this.dotnetRoots, this.netSdkPath); 132 public bool IsNetSdkBound => this.netSdkPath is not null; 475 if (this.netSdkPath is null) 481 return this.netSdkPath; 566 if (SdkKnownPackResolver.TryGetTargetingPackVersionForSdk(this.netSdkPath, packName, targetFramework, out string? sdkVersion)) 594 if (SdkKnownPackResolver.TryGetSdkAnalyzerPackVersionForSdk(this.netSdkPath, packageId, targetFramework, out string? sdkVersion)) 685 if (this.netSdkPath is null || string.IsNullOrWhiteSpace(policy)) 762 string file = Path.Join(this.netSdkPath, "Sdks", "Microsoft.NET.Sdk", "analyzers", "build", "config", fileName); 811 string file = Path.Join(this.netSdkPath, "Sdks", "Microsoft.NET.Sdk", "codestyle", language, "build", "config", $"analysislevelstyle_{mode.ToLowerInvariant()}.globalconfig"); 860 if (this.netSdkPath is null) 868 this.netSdkPath,