From 1c42cc2e222b10111fe265a56cd2aa380e9b76a1 Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 21 Jun 2025 08:23:37 +0800 Subject: [PATCH] fix(build): Fix the path for publishing nuget packages - update `common.props` - use `dotnet pack xxx` --- build/build-aspnetcore-publish-sln.ps1 | 4 ++-- common.props | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build/build-aspnetcore-publish-sln.ps1 b/build/build-aspnetcore-publish-sln.ps1 index 75edd7471..86356d837 100644 --- a/build/build-aspnetcore-publish-sln.ps1 +++ b/build/build-aspnetcore-publish-sln.ps1 @@ -2,8 +2,8 @@ # Build all solutions foreach ($solution in $solutionArray) { - #dotnet pack -c Release --include-source --include-symbols $solution.File --no-cache - dotnet build -c Release $solution.File --no-cache + dotnet pack -c Release --include-source --include-symbols $solution.File --no-cache + # dotnet build -c Release $solution.File --no-cache } Set-Location $rootFolder \ No newline at end of file diff --git a/common.props b/common.props index c4f1bbac6..137a91007 100644 --- a/common.props +++ b/common.props @@ -34,5 +34,9 @@ $(SolutionDir)LocalNuget + + + $(SolutionDir)LocalNuget + \ No newline at end of file