Skip to content

Commit

Permalink
Link NetCoreRuntime to .NET installation directory instead of SDK dir…
Browse files Browse the repository at this point in the history
…ectory
  • Loading branch information
DaZombieKiller committed Sep 6, 2023
1 parent 9bb5c62 commit 235df87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ void ProcessBuiltInSdkDirectory(string path)
assembly.Write(corePath);
Console.WriteLine($"Updated language version to {version}.");

Directory.CreateSymbolicLink(Path.Combine(dataPath, "NetCoreRuntime"), sdk.Location);
Directory.CreateSymbolicLink(Path.Combine(dataPath, "NetCoreRuntime"), DotNetInstallation.Current.Location);
Directory.CreateSymbolicLink(Path.Combine(dataPath, "DotNetSdkRoslyn"), sdk.RoslynLocation);
Console.WriteLine($"Linked to .NET SDK at {sdk.Location}");

0 comments on commit 235df87

Please sign in to comment.