Skip to content

Commit

Permalink
Merge pull request #2752 from pleasenoban/master
Browse files Browse the repository at this point in the history
fix cosmos builder not building
  • Loading branch information
quajak authored Aug 23, 2023
2 parents 4ab0b6b + d00f3a9 commit 47a4952
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions install-VS2022.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ if not exist "%MSBuild%" (

echo Building Builder.sln
"%MSBuild%" Builder.sln /nologo /maxcpucount /nodeReuse:false /verbosity:minimal /t:Restore;Build
if %ERRORLEVEL% neq 0 (
echo Failed to build Cosmos Builder. Exiting...
exit /b %ERRORLEVEL%
)

start "Cosmos Builder" "source\Cosmos.Build.Builder\bin\Debug\Cosmos.Build.Builder.exe" "-VSPATH=%InstallDir%" %*
exit
Expand Down
2 changes: 1 addition & 1 deletion source/Cosmos.Build.Builder/CosmosBuildDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void CleanPackage(string aPackage)
"Cosmos.Build.Tasks",
};

foreach (var task in PackProject(cosmosPackageProjects, new List<string>()))
foreach (var task in PackProject(cosmosPackageProjects, new List<string>(), new List<string>()))
{
yield return task;
}
Expand Down

0 comments on commit 47a4952

Please sign in to comment.