File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <OutputType >Exe</OutputType >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <!-- <LangVersion>latest</LangVersion> -->
66 </PropertyGroup >
77 <ItemGroup >
Original file line number Diff line number Diff line change 1+ # Clean the project
2+ Write-Host " Cleaning the project..."
3+ dotnet clean
4+
5+ # Remove bin and obj directories
6+ Write-Host " Removing bin and obj directories..."
7+ Remove-Item - Recurse - Force bin, obj
8+
9+ # Restore dependencies
10+ Write-Host " Restoring dependencies..."
11+ dotnet restore
12+
13+ # Build the project and show target log
14+ Write-Host " Building the project..."
15+ dotnet build / tl
16+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Bereinigen des Projekts
4+ echo " Cleaning the project..."
5+ dotnet clean
6+
7+ # Entfernen von bin und obj Ordnern
8+ echo " Removing bin and obj directories..."
9+ rm -rf bin obj
10+
11+ # Wiederherstellen der Abhängigkeiten
12+ echo " Restoring dependencies..."
13+ dotnet restore
14+
15+ # Bauen des Projekts und Anzeigen von Zielzeit (tl = TargetLog)
16+ echo " Building the project..."
17+ dotnet build /tl
18+
You can’t perform that action at this time.
0 commit comments