Skip to content

Commit

Permalink
Update build.* files to use --project since -p is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind committed Dec 22, 2021
1 parent 25886db commit a3d291d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ IF [%target_framework%]==[] (
exit /b 1
)

dotnet run -p build/build.csproj -f %target_framework% -c Release -- %*
dotnet run --project build/build.csproj -f %target_framework% -c Release -- %*
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ elseif ($version.StartsWith("6.")) {
exit 1
}

dotnet run -p build/build.csproj -f $target_framework -c Release -- $args
dotnet run --project build/build.csproj -f $target_framework -c Release -- $args
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ else
exit 1
fi

dotnet run -p build/build.csproj -f $target_framework -c Release -- "$@"
dotnet run --project build/build.csproj -f $target_framework -c Release -- "$@"

0 comments on commit a3d291d

Please sign in to comment.