News

MSBuild Makes Cross-Platform Progress

Since March, Microsoft has had designs on taking the Microsoft Build Engine open source and cross-platform as it ports it to .NET Core in the coming months. Progress is in full swing now.

It's been a few months since Microsoft announced that it was open sourcing the Microsoft Build Engine and providing ways to use it on Mac and Linux platforms, and now the project is in full swing, but they've since switched gears to simplify cross-platform portability.

"Moving forward we've decided to switch gears and bet on .NET Core as our runtime," said Microsoft Program Manager Rich Lander, who posted this blog about the initial push. "At the end, we want to have a single open source code base that works cross-platform, and from which we also build the MSBuild package that ships with Visual Studio."

.NET Core is a forked version of the .NET Framework, or as Microsoft Program Manager Immo Landwerth, who heads the .NET Framework team, wrote in a thorough description of its development, it's "a modular implementation that can be used in a wide variety of verticals, scaling from the data center to touch based devices, is available as open source, and is supported by Microsoft on Windows, Linux and Mac OSX." It's easy to see why rather than continue to work on versions for Mac and Linux using the Mono platform, the team would immediately pour its efforts into .NET Core.

Comments to the post bring up some concerns about Msbuild in general and the branching strategy that appears to have the branches diverging even further. "The xplat and master are diverging with every PR merged, which is a bad strategy," said James, a commenter, who links to a number of similar comments in a branching strategy discussion on GitHub.

"Our ultimate longer-term goal will be to have a single branch that contains Linux and Windows, but right now the quality bar for master is much higher because of potential regressions," explained Andy Gerlicher, a Microsoft senior software engineer. "We have a very large customer base and tight integration with Visual Studio so this is the main priority when considering changes. We would definitely approve targeted and well tested merges between branches though."

"At the end, we want to have a single open source code base that works cross-platform, and from which we also build the MSBuild package that ships with Visual Studio," said Nikolai Tillmann, a principal software engineer manager with Microsoft Research, who recently joined Microsoft's Tools for Software Engineers Group.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube