© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
9 replies
SoftStone

✅Build NET9 from source

How to fix this, does anyone know?
I try build dotnet/dotnet repo following instructions in:
https://github.com/dotnet/dotnet/blob/main/README.md#dev-instructions

What i do:
1. Clone repo
https://github.com/dotnet/dotnet/
and switch to
release/9.0.1xx branch
release/9.0.1xx branch


2. Execute
./prep-source-build.sh
./prep-source-build.sh


3. On machine i install dependencies

apt install -y cmake llvm lld clang build-essential \
  python-is-python3 curl git lldb libicu-dev liblttng-ust-dev \
  libssl-dev libkrb5-dev ninja-build pigz cpio
  
apt install -y build-essential gettext locales cmake llvm clang lld lldb liblldb-dev libunwind8-dev libicu-dev liblttng-ust-dev \
                libssl-dev libkrb5-dev zlib1g-dev pigz cpio
                
sudo apt install build-essential checkinstall zlib1g-dev libssl-dev -y
apt install -y cmake llvm lld clang build-essential \
  python-is-python3 curl git lldb libicu-dev liblttng-ust-dev \
  libssl-dev libkrb5-dev ninja-build pigz cpio
  
apt install -y build-essential gettext locales cmake llvm clang lld lldb liblldb-dev libunwind8-dev libicu-dev liblttng-ust-dev \
                libssl-dev libkrb5-dev zlib1g-dev pigz cpio
                
sudo apt install build-essential checkinstall zlib1g-dev libssl-dev -y

4. Try to build
./build.sh -sb --clean-while-building
./build.sh -sb --clean-while-building

and.. i get error
image.png
GitHub
GitHub - dotnet/dotnet: Home of .NET's Virtual Monolithic Repositor...
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source - dotnet/dotnet
GitHub - dotnet/dotnet: Home of .NET's Virtual Monolithic Repositor...
GitHub
dotnet/README.md at main · dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source - dotnet/dotnet
dotnet/README.md at main · dotnet/dotnet
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Update MAUI to net9.0 issue
C#CC# / help
15mo ago
Failed to install .NET9 on Raspberry PI
C#CC# / help
15mo ago
Hot reload doesn't work correctly on .NET9
C#CC# / help
12mo ago
Nuget SourceRoot | Microsoft.Build.Framework.ITaskItem | MSB4094 Error
C#CC# / help
3y ago