Skip to content
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

Source-build should also use the release runtime. #46299

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Tools/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Target the default version of .NET Core in tool projects to maximize the compatible environments. Must be set
before importing root Directory.Build.targets.
-->
<TargetLatestDotNetRuntime Condition=" '$(IsServicingBuild)' == 'true' ">false</TargetLatestDotNetRuntime>
<TargetLatestDotNetRuntime Condition=" '$(IsServicingBuild)' == 'true' '$(DotNetSourceBuild))' != 'true'">false</TargetLatestDotNetRuntime>
crummel marked this conversation as resolved.
Show resolved Hide resolved
crummel marked this conversation as resolved.
Show resolved Hide resolved
<!-- Tool projects publish before packing. Packages should contain the latest bits. -->
<UseLatestPackageReferences>true</UseLatestPackageReferences>
</PropertyGroup>
Expand All @@ -18,4 +18,5 @@
<Target Name="CleanPublishDir" AfterTargets="CoreClean">
<RemoveDir Directories="$(PublishDir)" />
</Target>

</Project>