Skip to content

Commit 87cff98

Browse files
committed
/Nologo need to be last parameter, otherwise build will fail in some dotnet versions
1 parent 350b579 commit 87cff98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ task compile -depends clean {
4545
# restore all project references (creating project.assets.json for each project)
4646
exec { dotnet restore $base_dir\AutoMapper.Collection.sln /nologo }
4747

48-
exec { dotnet build $base_dir\AutoMapper.Collection.sln -c $config $buildParam /nologo --no-restore }
48+
exec { dotnet build $base_dir\AutoMapper.Collection.sln -c $config $buildParam --no-restore /nologo }
4949

50-
exec { dotnet pack $base_dir\AutoMapper.Collection.sln -c $config --include-symbols --no-build --no-restore --output $artifacts_dir $packageParam /nologo}
50+
exec { dotnet pack $base_dir\AutoMapper.Collection.sln -c $config --include-symbols --no-build --no-restore --output $artifacts_dir $packageParam /nologo }
5151
}
5252

5353
task test {

0 commit comments

Comments
 (0)