dotnet / dotnet/aspnetcore

Make build.cmd with no args build everything

Open
#6,304 23 comments 0 reactions 0 assignees View on GitHub
affected-medium area-infrastructure severity-minor task
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Currently, running build.cmd doesn't build everything in this repo. You have to know about special parameters to get the repo build Debian, RPM, and Windows installers.

**Proposal**: let's make `build.cmd`/`.sh` without arguments build everything in the repo. That includes:

* C#, C++, TypeScript, and Java projects
* On Windows, MSI installers.
* On Linux, the installer that matches the current platform (deb, rpm, tar.gz, etc.)

**Tricky bits**: this is not trivial because we have some tricky requirements.
* the Windows Server Hosting bundle needs to include both the x64 and x86 versions of ASP.NET Core. Should build.cmd on Windows compile both x64 and x86, or just one?
* Pre-requisites. To build everything, you need .NET 3.5 (for the Wix Toolset), NodeJS, the JDK, Visual Studio, Windows SDKs, and more. We don't have scripts to install or acquire all of these automatically. We should add scripts which check early on for these prerequisties because builds will often fail with confusing messages later if prereqs are not met.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.