Update package reference for Microsoft.Extensions.DependencyModel and modify restore command for Linux
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user