Skip to content

Make build.cmd with no args build everything #6304

Open
@natemcmaster

Description

@natemcmaster

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-mediumThis issue impacts approximately half of our customersarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkseverity-minorThis label is used by an internal tooltask

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions