Skip to content

Commit

Permalink
Updated build.cmd to fix build issues (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalchadha committed Nov 30, 2020
1 parent 74e1ad7 commit 2a0058e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cmd
Expand Up @@ -113,10 +113,10 @@ if not exist .nuget md .nuget
if not exist .nuget\nuget.exe powershell -Command "Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/v5.8.0-preview.2/nuget.exe -OutFile .nuget\nuget.exe"
.nuget\nuget update -self
rem Note: packages.config-based (vcxproj) projects do not support msbuild /t:restore
call get_testwinrt.cmd
call :exec .nuget\nuget.exe restore %nuget_params%

:build
call get_testwinrt.cmd
echo Building cswinrt for %cswinrt_platform% %cswinrt_configuration%
call :exec %msbuild_path%msbuild.exe %cswinrt_build_params% /p:platform=%cswinrt_platform%;configuration=%cswinrt_configuration%;VersionNumber=%cswinrt_version_number%;VersionString=%cswinrt_version_string%;AssemblyVersionNumber=%cswinrt_assembly_version%;GenerateTestProjection=true;BaselineAllAPICompatError=%cswinrt_basline_breaking_compat_errors%;BaselineAllMatchingRefApiCompatError=%cswinrt_basline_assembly_version_compat_errors% cswinrt.sln
if ErrorLevel 1 (
Expand Down

0 comments on commit 2a0058e

Please sign in to comment.