Skip to content

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Jul 3, 2025

Now -vs ilc or -vs crossgen should work (previously, these two require full path to be provided).

Also, since all other solutions don't require file extension, I've removed it from coreclr and corehost as well.

@Copilot Copilot AI review requested due to automatic review settings July 3, 2025 12:28
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 3, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the -vs argument handling by allowing bare solution names and adds a fallback lookup for CMake-generated solutions in the AOT tools directory.

  • Accept coreclr and corehost (without .sln) as valid -vs inputs
  • Add search path under src\coreclr\tools\aot for .slnx files
Comments suppressed due to low confidence (1)

eng/build.ps1:220

  • The variable $solution is undefined here; it should likely use $vs instead to correctly construct the path to the .slnx file.
        $vs = Split-Path $PSScriptRoot -Parent | Join-Path -ChildPath "src\coreclr\tools\aot" | Join-Path -ChildPath "$solution.slnx"

@EgorBo
Copy link
Member Author

EgorBo commented Jul 3, 2025

PTAL @MichalStrehovsky

@EgorBo EgorBo requested a review from MichalStrehovsky July 3, 2025 13:29
Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants