Skip to content

Commit 1c0aaad

Browse files
committed
Fixed wrong path in build script
1 parent 529cdcc commit 1c0aaad

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
@@ -108,14 +108,14 @@ try
108108

109109
if ($SkipSamples -eq $false)
110110
{
111-
foreach ($src in Get-ChildItem "$PSScriptRoot/samples/**/*.csproj" -File)
111+
foreach ($src in Get-ChildItem "$PSScriptRoot/sample/**/*.csproj" -File)
112112
{
113113
try
114114
{
115115
Push-Location $src.DirectoryName
116116

117117
echo "build: Building sample project $( $src.FullName )"
118-
& dotnet pack -c Release -o ..\..\artifacts
118+
& dotnet build -c Release -o ..\..\artifacts
119119
if ($LASTEXITCODE -ne 0)
120120
{
121121
echo "Error returned by dotnet build. Aborting build."

0 commit comments

Comments
 (0)