Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions HostsFileEditor.Cli/HostsFileEditor.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@
<ItemGroup>
<ProjectReference Include="..\HostsFileEditor.Core\HostsFileEditor.Core.csproj" />
</ItemGroup>
<ItemGroup>
<!-- Pin the NativeAOT ILCompiler to match the installed .NET 10 runtime (10.0.10); see the
same note in HostsFileEditor.Elevate.csproj. Remove once the SDK default catches up. -->
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="10.0.10" />
</ItemGroup>
</Project>
8 changes: 8 additions & 0 deletions HostsFileEditor.Elevate/HostsFileEditor.Elevate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@
<PublishAot>true</PublishAot>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<!-- Pin the NativeAOT ILCompiler to match the installed .NET 10 runtime (10.0.10). The .NET SDK
10.0.302 still defaults the AOT compiler to 10.0.9, which conflicts with the newer 10.0.10
self-contained runtime pack ("Overriding System.Private.CoreLib.dll with a newer version is
not supported"). Aligning the compiler up to the runtime fixes AOT publish. Bump alongside
the runtime; remove once the SDK default catches up. -->
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="10.0.10" />
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions HostsFileEditor.WinUI/HostsFileEditor.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.2.0" />
<!-- Pin the NativeAOT ILCompiler to match the installed .NET 10 runtime (10.0.10); see the same
note in HostsFileEditor.Elevate.csproj. The SDK 10.0.302 default (10.0.9) conflicts with the
newer 10.0.10 self-contained runtime pack. Remove once the SDK default catches up. -->
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="10.0.10" />
<PackageReference Include="H.NotifyIcon.WinUI" Version="2.4.1" />
<PackageReference Include="System.Resources.Extensions" Version="10.0.9" />
<!-- Taskbar Jump List (issue #10) uses the WinRT Windows.UI.StartScreen.JumpList API — packaged-
Expand Down