-
Notifications
You must be signed in to change notification settings - Fork 377
Add a second .NET path for MicroBuild #16091
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
base: main
Are you sure you want to change the base?
Conversation
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(UseDotNetToolPathForMicroBuild)' == 'false'"> | ||
<_ItemInPath Include="$([System.Text.RegularExpressions.Regex]::Split('$(PATH)', ':'))" /> |
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.
Can you use System.IO.Path.PathSeparator
in place of :
?
<PropertyGroup Condition="$(_DotNetCoreRequired)"> | ||
<_DotNetCorePath>$(DotNetTool)</_DotNetCorePath> | ||
<_DotNetPathMicroBuildCandidate | ||
Include="@(_ItemInPath->'%(Identity)/dotnet')" |
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.
nit: If this code is used on Windows (e.g. UseDotNetToolPathForMicroBuild == false) then this would break...maybe replace dotnet
with a property DotNetExe
?
<_DotNetPathMicroBuild>%(_DotNetPathMicroBuildCandidate.Identity)</_DotNetPathMicroBuild> | ||
</PropertyGroup> | ||
|
||
<Warning |
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.
Because most repos turn on warnings as errors. I would make this a high importance log message instead.
I just ran into the microbuild-deleted-by-checkout issue again in a repo, would be nice to have this finally fixed :) |
Acknowledged :) This fell off of my radar with some of the other work I've been focusing on. I will have it completed by end of the week. |
Resolves #15731
Arcade-validation test build