Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Xamarin.MacDev/MonoMacSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public sealed class MonoMacSdk : IMonoMacSdk
{
static DateTime lastExeWrite = DateTime.MinValue;

string sdkDir;
public string SdkDir {
get; private set;
}

public string LegacyFrameworkAssembly {
get; private set;
Expand All @@ -46,7 +48,7 @@ public MonoMacSdk (string defaultLocation, string legacyFrameworkAssembly, strin
{
LegacyFrameworkAssembly = legacyFrameworkAssembly;
LegacyAppLauncherPath = legacyAppLauncherPath;
sdkDir = defaultLocation;
SdkDir = defaultLocation;
Init ();
}

Expand All @@ -70,7 +72,7 @@ void Init ()

MacOSXSdkVersion ReadVersion ()
{
var versionFile = Path.Combine (sdkDir, "Version");
var versionFile = Path.Combine (SdkDir, "Version");
if (File.Exists (versionFile)) {
try {
return MacOSXSdkVersion.Parse (File.ReadAllText (versionFile).Trim ());
Expand Down