From aada39e7d13f67120db43e3c9ce69958804bee38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Petryka?= <35800402+MichalPetryka@users.noreply.github.com> Date: Fri, 10 Apr 2026 22:14:48 +0200 Subject: [PATCH 1/2] Update executable path for ilc.exe --- src/Vsix/ViewModels/MainViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vsix/ViewModels/MainViewModel.cs b/src/Vsix/ViewModels/MainViewModel.cs index c42b49f..69fcb70 100644 --- a/src/Vsix/ViewModels/MainViewModel.cs +++ b/src/Vsix/ViewModels/MainViewModel.cs @@ -313,7 +313,7 @@ public async Task RunFinalExe(DisasmoSymbolInfo symbolInfo, IProjectProperties p return; command = ""; - executable = Path.Combine(clrReleaseFolder, "ilc", "ilc.exe"); + executable = Path.Combine(clrReleaseFolder, "ilc-published", "ilc.exe"); command += $" \"{fileName}.dll\" "; @@ -939,4 +939,4 @@ private static string FindJitDirectory(string basePath, string arch) return null; } } -} \ No newline at end of file +} From 3514da5a33aa0d06f1dbc7dfb2825e6dbd7d9a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Petryka?= <35800402+MichalPetryka@users.noreply.github.com> Date: Fri, 10 Apr 2026 22:16:22 +0200 Subject: [PATCH 2/2] Fix directory check for ilc-published in GetPathToCoreClr --- src/Vsix/ViewModels/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vsix/ViewModels/MainViewModel.cs b/src/Vsix/ViewModels/MainViewModel.cs index 69fcb70..d90f857 100644 --- a/src/Vsix/ViewModels/MainViewModel.cs +++ b/src/Vsix/ViewModels/MainViewModel.cs @@ -602,7 +602,7 @@ private UnconfiguredProject GetUnconfiguredProject(Project project) { var arch = SettingsViewModel.Arch; var releaseFolder = Path.Combine(SettingsVm.PathToLocalCoreClr, "artifacts", "bin", "coreclr", $"windows.{arch}.Checked"); - if (!Directory.Exists(releaseFolder) || !Directory.Exists(Path.Combine(releaseFolder, "aotsdk")) || !Directory.Exists(Path.Combine(releaseFolder, "ilc"))) + if (!Directory.Exists(releaseFolder) || !Directory.Exists(Path.Combine(releaseFolder, "aotsdk")) || !Directory.Exists(Path.Combine(releaseFolder, "ilc-published"))) { Output = $"Path to a local dotnet/runtime repository is either not set or it's not correctly built for {arch} arch yet for NativeAOT" + "\nPlease clone it and build it using the following steps.:\n\n" +