Merge remote-tracking branch 'github/master' into HEAD
[platform/core/csapi/tizenfx.git] / build.cmd
index b05729e..6a05cf4 100644 (file)
--- a/build.cmd
+++ b/build.cmd
@@ -37,18 +37,20 @@ call dotnet msbuild %~dp0build\build.proj /nologo /t:build
 goto :EOF
 
 :DummyBuild
-call dotnet build %~dp0build\build.dummy.csproj
+call dotnet msbuild %~dp0build\build.proj /nologo /t:dummy
+call dotnet msbuild %~dp0build\build.proj /nologo /t:afterdummy
 goto :EOF
 
 :Pack
 set VERSION=%2
 set VERSION_INTERNAL=%3
 call :GetUnixTime TIMESTAMP
-if /I [%VERSION%] == [] set VERSION=4.0.1-local-%TIMESTAMP%
+if /I [%VERSION%] == [] set VERSION=5.0.0-local-%TIMESTAMP%
 if /I [%VERSION_INTERNAL%] == [] set VERSION_INTERNAL=%VERSION%
 set OUTDIR=%~dp0Artifacts
 set NUGET_CMD=%~dp0tools\NuGet.exe
 %NUGET_CMD% pack %~dp0pkg\Tizen.NET.nuspec -NoPackageAnalysis -Version %VERSION% -BasePath %~dp0 -OutputDirectory %OUTDIR%
+%NUGET_CMD% pack %~dp0pkg\Tizen.NET.API5.nuspec -NoPackageAnalysis -Version %VERSION% -BasePath %~dp0 -OutputDirectory %OUTDIR%
 %NUGET_CMD% pack %~dp0pkg\Tizen.NET.Internals.nuspec -NoPackageAnalysis -Version %VERSION_INTERNAL% -BasePath %~dp0 -OutputDirectory %OUTDIR%
 goto :EOF