### Building for a specific framework Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/README.md Examples of building and running for specific .NET frameworks (net9.0, net10.0). ```powershell # Build for .NET 9 dotnet build -c Release -f net9.0 ``` ```powershell # Run the demo for .NET 9 dotnet run -c Release -f net9.0 --project src/PerfDemo/PerfDemo.csproj ``` ```powershell # Run benchmarks for .NET 9 dotnet run -c Release -f net9.0 --project src/PerfBenchmarks/PerfBenchmarks.csproj -- --filter "*PoolBenchmarks*" ``` ```powershell # Build for .NET 10 dotnet build -c Release -f net10.0 ``` -------------------------------- ### Build and Run Commands Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/README.md Commands to restore, build, run the demo, and run all benchmarks. ```powershell dotnet restore dotnet build -c Release ``` ```powershell dotnet run --project src/PerfDemo/PerfDemo.csproj -c Release ``` ```powershell dotnet run -c Release --project src/PerfBenchmarks/PerfBenchmarks.csproj ``` ```powershell dotnet run -c Release --project src/PerfBenchmarks/PerfBenchmarks.csproj -- --filter "*PoolBenchmarks*" ``` -------------------------------- ### Run string-concat benchmarks Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/release-notes.md Command to run the string-concat benchmarks using .NET. ```bash dotnet run -c Release --project src/PerfBenchmarks/PerfBenchmarks.csproj -- --filter "*StringConcatBenchmarks*" ``` -------------------------------- ### Build for supported target frameworks Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/CONTRIBUTING.md Commands to build the project for .NET 10.0 and .NET 9.0. ```bash dotnet build -c Release -f net10.0 ``` ```bash dotnet build -c Release -f net9.0 ``` -------------------------------- ### Build command Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/release-notes.md Command to build the project for .NET 9 and/or .NET 10. ```bash dotnet build -c Release -f net10.0 and/or -f net9.0 ``` -------------------------------- ### Run unit tests Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/CONTRIBUTING.md Command to run unit tests for the project. ```bash dotnet test --configuration Release ``` -------------------------------- ### Format code Source: https://github.com/garyciampa/dotnet10performancesuite/blob/master/CONTRIBUTING.md Command to format code according to project standards. ```bash dotnet format ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.