Skip to content

Commit 2a0058e

Browse files
authored
Updated build.cmd to fix build issues (microsoft#613)
1 parent 74e1ad7 commit 2a0058e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ if not exist .nuget md .nuget
113113
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"
114114
.nuget\nuget update -self
115115
rem Note: packages.config-based (vcxproj) projects do not support msbuild /t:restore
116+
call get_testwinrt.cmd
116117
call :exec .nuget\nuget.exe restore %nuget_params%
117118

118119
:build
119-
call get_testwinrt.cmd
120120
echo Building cswinrt for %cswinrt_platform% %cswinrt_configuration%
121121
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
122122
if ErrorLevel 1 (

0 commit comments

Comments
 (0)