From 75249e5161ccf34be74c88606ca408bd3379c454 Mon Sep 17 00:00:00 2001 From: Bela VanderVoort Date: Fri, 6 Dec 2024 11:50:19 -0600 Subject: [PATCH] add missing issue to change log --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa5f7203..d44bfd79a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # 0.30.2 ## What's Changed +### CSharpier.MsBuild now uses DOTNET_HOST_PATH instead of just dotnet [#1380](https://github.com/belav/csharpier/pull/1387) +Use current dotnet binary from DOTNET_HOST_PATH instead of just dotnet. +- Global (in PATH) may not exist (when used Binaries, but not Installers). +- Global can have different runtime version. +- Consistent with outer tools (csc for example). +https://github.com/dotnet/roslyn/blob/324fd25331c969cd742ba68eee09ffd4b6fd29e3/src/Compilers/Shared/RuntimeHostInfo.cs#L61-L64 +- It is documented to be used for that purpose. +https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables#dotnet_host_path + ### Collection expression inside a dictionary adds unexpected new line [#1390](https://github.com/belav/csharpier/issues/1390) ```c# // input & expected output