Permalink
Browse files

workaround for downloading nuget packages

  • Loading branch information...
1 parent e52e4d9 commit 98d866aa8d4a6c7f05d2a728819eeaeaaa9f1dd8 @chefkoch chefkoch committed Aug 21, 2013
Showing with 6 additions and 1 deletion.
  1. +4 −1 Build/BuildInit.bat
  2. +2 −0 Tools/InstallationScripts/include-MP-PreBuild.nsh
View
@@ -46,4 +46,7 @@ echo DXSDK_DIR = %DXSDK_DIR% >> %log%
echo. >> %log%
REM copy BuildReport resources
-xcopy /I /Y .\BuildReport\_BuildReport_Files .\_BuildReport_Files
+xcopy /I /Y .\BuildReport\_BuildReport_Files .\_BuildReport_Files
+
+REM Download NuGet packages
+@"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" RestorePackages.targets
@@ -57,6 +57,8 @@
!system '"${git_DeployVersionGIT}\DeployVersionGIT\bin\Release\DeployVersionGIT.exe" /git="${git_ROOT}" /path="${git_ROOT}\Common-MP-TVE3"' = 0
!endif
+!system '"$%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" "${git_ROOT}\Build\RestorePackages.targets"' = 0
+
!ifdef BUILD_MediaPortal
!insertmacro PrepareBuildReport DirectShowFilters
!system '"$%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBUILD.exe" ${logger} /target:rebuild /property:Configuration=Release ${git_DirectShowFilters}\Filters.sln' = 0

0 comments on commit 98d866a

Please sign in to comment.