Update package reference for Microsoft.Extensions.DependencyModel and modify restore command for Linux

This commit is contained in:
2026-07-08 14:04:07 -04:00
parent 41e737f3ec
commit 401c24f599
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
<ItemGroup>
<PackageReference Include="CommandLineParser" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="11.0.0-preview.1.26104.118" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" />
<PackageReference Include="Microsoft.Kiota.Abstractions" />
<PackageReference Include="Morestachio" />
+1 -1
View File
@@ -41,7 +41,7 @@ echo "Latest changes fetched successfully."
echo "Building and publishing the .NET project..."
# Restore, build, and publish the .NET project
dotnet restore "$SOLUTION_FILE"
dotnet restore "$SOLUTION_FILE" -r linux-x64
dotnet build "$SOLUTION_FILE" --configuration Release --no-restore
dotnet publish "$SOLUTION_FILE" --configuration Release --no-build --self-contained true -r linux-x64 --output "$PUBLISH_DIR"