Repository navigation
Conversation
Bump core projects, tests, samples, and docs from net10.0/net6.0 to net11.0. Keep netstandard2.0 generator target unchanged.
|
Hey, thanks for the PR. Can you please clarify the reason to bump the .net version in the libraries? Are there any issues with using Bootsharp under .net 11? |
|
Update on why this matters: building the library TFMs on .NET 11 works, but publishing a Bootsharp WASM/AOT app on SDK 11.0.100 does not with the current 0.9.0 package. With a consumer targeting
The Debug/CoreCLR WASM path also fails on .NET 11 with Root cause looks like the bundled NativeAOT-LLVM/ILCompiler in Bootsharp 0.9.0 is still .NET 10-based ( |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #217 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 60 60
Lines 2991 2989 -2
Branches 545 544 -1
=========================================
- Hits 2991 2989 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Ok, debug/mono publishing works, but we are blocked by NativeAOT-LLVM -- they do not support .NET 11 yet. It looks like there was an ongoing work on that, but they abandoned it: dotnet/runtimelab#3261 Will keep this PR open until they unblock us. |
|
I am working on it because .NET 11 is dope, I lost employment and I am bored 🥱 And I am using LLVM branch and working through issues for Bootsharp and the sponsor package FileSystem I also am hoping to build on macOS M1 Bootsharp works great on .net 10 |
Bumps core projects, tests, samples, and docs from
net10.0/net6.0tonet11.0. Keeps the Roslyn source generator onnetstandard2.0.Verified locally:
dotnet build src/cs/Bootsharp.sln -c Releasesucceeds on .NET 11 SDK 11.0.100 (0 errors; 2 pre-existing NU1510 warnings inBootsharp.Inject).WASM/AOT caveat: this TFM bump alone does not make a full WASM publish work on .NET 11. The bundled NativeAOT-LLVM/ILCompiler in Bootsharp 0.9.0 is still .NET 10-based (
src/cs/.scripts/llvm.shpins10.0.0-rc.1.26117.1), and publishing anet11.0consumer fails with aSystem.Private.CoreLib.dlloverride error plus a missingPrepareForILLinktarget. This PR is the TFM-alignment part; a net11-compatible compiler/runtime package is still needed for WASM/AOT.