Skip to content

Commit 5679f1a

Browse files
committed
Move to dotnet build instead of msbuild because "paths"
1 parent 52030f0 commit 5679f1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.cmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ SET VERSION=%~1
66
Echo Building Microsoft.OpenApi
77

88
SET PROJ=%~dp0src\Microsoft.OpenApi\Microsoft.OpenApi.csproj
9-
msbuild %PROJ% /t:restore /p:Configuration=Release
10-
msbuild %PROJ% /t:build /p:Configuration=Release
11-
msbuild %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0artifacts;Version=%VERSION%
9+
dotnet build %PROJ% /t:restore /p:Configuration=Release
10+
dotnet build %PROJ% /t:build /p:Configuration=Release
11+
dotnet build %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0artifacts;Version=%VERSION%
1212

1313
Echo Building Microsoft.OpenApi.Readers
1414

1515
SET PROJ=%~dp0src\Microsoft.OpenApi.Readers\Microsoft.OpenApi.Readers.csproj
16-
msbuild %PROJ% /t:restore /p:Configuration=Release
17-
msbuild %PROJ% /t:build /p:Configuration=Release
18-
msbuild %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0artifacts;Version=%VERSION%
16+
dotnet build %PROJ% /t:restore /p:Configuration=Release
17+
dotnet build %PROJ% /t:build /p:Configuration=Release
18+
dotnet build %PROJ% /t:pack /p:Configuration=Release;PackageOutputPath=%~dp0artifacts;Version=%VERSION%
1919

2020
goto :end
2121
:error

0 commit comments

Comments
 (0)