Browse Source

Merge pull request #1248 from colinin/fix-build-path

fix(build): Fix the path for publishing nuget packages
pull/1249/head
yx lin 9 months ago
committed by GitHub
parent
commit
352016db90
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      build/build-aspnetcore-publish-sln.ps1
  2. 4
      common.props

4
build/build-aspnetcore-publish-sln.ps1

@ -2,8 +2,8 @@
# Build all solutions
foreach ($solution in $solutionArray) {
dotnet pack $solution.File -c Release --include-source --include-symbols
#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

4
common.props

@ -35,4 +35,8 @@
<OutputPath>$(SolutionDir)LocalNuget</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>$(SolutionDir)LocalNuget</OutputPath>
</PropertyGroup>
</Project>
Loading…
Cancel
Save