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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
2 deletions
-
build/build-aspnetcore-publish-sln.ps1
-
common.props
|
|
@ -2,8 +2,8 @@ |
|
|
|
|
|
|
|
|
# Build all solutions |
|
|
# Build all solutions |
|
|
foreach ($solution in $solutionArray) { |
|
|
foreach ($solution in $solutionArray) { |
|
|
dotnet pack $solution.File -c Release --include-source --include-symbols |
|
|
dotnet pack -c Release --include-source --include-symbols $solution.File --no-cache |
|
|
#dotnet build -c Release $solution.File --no-cache |
|
|
# dotnet build -c Release $solution.File --no-cache |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Set-Location $rootFolder |
|
|
Set-Location $rootFolder |
|
|
@ -34,5 +34,9 @@ |
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
|
|
<OutputPath>$(SolutionDir)LocalNuget</OutputPath> |
|
|
<OutputPath>$(SolutionDir)LocalNuget</OutputPath> |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
|
|
|
|
|
<OutputPath>$(SolutionDir)LocalNuget</OutputPath> |
|
|
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
</Project> |
|
|
</Project> |