IT lexicon › Programming › MSBuild

MSBuild

Programming På svenska → Updated: 2026-11-13

Microsoft's build engine for Windows — embedded in Visual Studio but executable from the command line for CI/CD pipelines.

MSBuild is XML-based and borrows concepts from Make, but specialized for the Windows/.NET ecosystem. A `.csproj` or `.vcxproj` file is the build definition; you can run `msbuild project.csproj /p:Configuration=Release` and get a binary without opening the IDE. Parallel builds are default, and incremental builds use file timestamps to skip already-compiled code.

Historically slow and heavy compared to Unix tools, but in practice often reasonable — especially for large monoliths with hundreds of interdependent projects. IDE compatibility is nearly perfect; what builds in Visual Studio also builds on CI. SDK-style `.csproj` files are more readable than the old format, but both work side by side.

← Back to the lexicon