File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,14 @@ public class GlobalJsonInfo
4343 public string ? SdkVersion => GlobalJsonContents ? . Sdk ? . Version ;
4444 public bool ? AllowPrerelease => GlobalJsonContents ? . Sdk ? . AllowPrerelease ;
4545 public string ? RollForward => GlobalJsonContents ? . Sdk ? . RollForward ;
46- public string ? SdkPath => ( GlobalJsonContents ? . Sdk ? . Paths is not null && GlobalJsonContents . Sdk . Paths . Length > 0 ) ? GlobalJsonContents . Sdk . Paths [ 0 ] : null ;
46+ public string ? SdkPath
47+ {
48+ get
49+ {
50+ return ( GlobalJsonContents ? . Sdk ? . Paths is not null && GlobalJsonContents . Sdk . Paths . Length > 0 ) ?
51+ Path . GetFullPath ( GlobalJsonContents . Sdk . Paths [ 0 ] , GlobalJsonPath ! ) : null ;
52+ }
53+ }
4754}
4855
4956public record DotnetInstallRootConfiguration (
You can’t perform that action at this time.
0 commit comments