diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Blogs/BlogAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Blogs/BlogAppService.cs index 7867c41885d..ae1eed4e3fb 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Blogs/BlogAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Blogs/BlogAppService.cs @@ -1,11 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Volo.Abp; using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; using Volo.Abp.Domain.Entities; -using Volo.Abp.UI; namespace Volo.Blogging.Blogs { diff --git a/nupkg/pack.ps1 b/nupkg/pack.ps1 index 53d85b6f291..925e6973005 100644 --- a/nupkg/pack.ps1 +++ b/nupkg/pack.ps1 @@ -17,6 +17,11 @@ foreach($project in $projects) { Remove-Item -Recurse (Join-Path $projectFolder "bin/Release") & dotnet msbuild /t:pack /p:Configuration=Release /p:SourceLinkCreate=true + if (-Not $?) { + Write-Host ("Packaging failed for the project: " + $projectFolder) + exit $LASTEXITCODE + } + # Copy nuget package $projectName = $project.Substring($project.LastIndexOf("/") + 1) $projectPackPath = Join-Path $projectFolder ("/bin/Release/" + $projectName + ".*.nupkg")