-
Couldn't load subscription status.
- Fork 5.2k
Fix -vs arg for ilc/crossgen #117268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix -vs arg for ilc/crossgen #117268
Conversation
There was a problem hiding this 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
coreclrandcorehost(without.sln) as valid-vsinputs - Add search path under
src\coreclr\tools\aotfor.slnxfiles
Comments suppressed due to low confidence (1)
eng/build.ps1:220
- The variable
$solutionis undefined here; it should likely use$vsinstead to correctly construct the path to the.slnxfile.
$vs = Split-Path $PSScriptRoot -Parent | Join-Path -ChildPath "src\coreclr\tools\aot" | Join-Path -ChildPath "$solution.slnx"
|
PTAL @MichalStrehovsky |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
Now
-vs ilcor-vs crossgenshould 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.