MSBuild
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio. (by dotnet)
Psake
A build automation tool written in PowerShell (by psake)
Our great sponsors
MSBuild | Psake | |
---|---|---|
11 | 5 | |
4,727 | 1,461 | |
0.7% | 0.9% | |
9.8 | 4.2 | |
1 day ago | about 1 month ago | |
C# | PowerShell | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MSBuild
Posts with mentions or reviews of MSBuild.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-06.
-
How can I compile a C# program with a different version of glibc?
msbuild is the "make" system, but for .Net. Those .csproj files are just makefiles by another name. Also, msbuild is not Windows-only. The readme specifically states that it can run on Unix (and Unix-like) systems that support .Net Core.
-
The most interesting C# / .NET blogs and websites
You can't do without source files when you want to better understand what is happening "under the hood" of a particular system. For example, do you want to improve your understanding of how types from the standard library work? The source code of .NET Framework and .NET will help you to do that. Do you want to dig deeper into the compiler? No problem - here is the Roslyn's source code at your service. Do you need to look inside the build system? Here you go - the MSBuild code is also open-source. By the way, if you are interested in build processes, you may also find MSBuild Structured Log Viewer useful. It's a tool that allows you to work with MSBuild build logs in a convenient format.
-
How can I set TEMP environment variable for MSBuild in csproj?
I have a .NET 6 project that includes some Exec nodes, and those commands are failing because (as in this discussion on the msbuild repo) the paths of the generated tmp.exec.cmd files are not whitelisted.
-
OWASP Top Ten and Software Composition Analysis (SCA)
At the moment, we plan to implement the specified functionality for the C# analyzer. It's easy to obtain the list of dependencies for a C# project. Roslyn helps us a lot — our analyzer is built on its base. To be more precise, the main factor is the use of the same build platform (MSBuild) and a compiler for all C# projects. At the same time Roslyn is closely related to MSBuild. This makes obtaining the dependencies list trivial.
-
WordPress Latin1 and UTF-8, Part 2
I hope one day Microsoft will deprecate their non-unicode API, remove that TCHAR mess. I think they supported these legacy APIs long ey already. There's still a problem with PATH_MAX, see, for example, the dotnet MSBuild[1]. Maybe even switch to the UTF-8 instead.
-
Standard File/Project Structure?
https://github.com/dotnet/msbuild is up there too.
-
Thoughts about directory.build.props
Take a look at this issue. https://github.com/dotnet/msbuild/issues/2008
- MSBuild has caused me years of pain, replacing it with Make is probably sensible. 👍
- Fix Legacy Msbuild Issues
-
How do build events differ between Visual Studio for Windows and Mac?
MSBuild and the Roslyn compiler are cross-platform. So the short answer is yes.
Psake
Posts with mentions or reviews of Psake.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-08.
-
Achieving single command Infrastructure deployment using PowerShell DSC.
You may use other tools too: psake, make, cake, fake or any other *ake you are familiar with. I look at them as a tools that make build tasks behind simple commands and help me answer: How did I run that code again?
- How do you guys make sense of a complex project on GitHub?
-
How do you specify Debug or Release when calling Invoke-psake?
I use the psake PowerShell module to "build" my PowerShell modules. My psakefile.ps1 contains the logic needed to update the manifest with an incremented version, any new function/cmdlet names, and so on. Then it copies everything from .\src\ to .\output\modulename\version. All I do is call Invoke-psake build or Invoke-psake test, and this works great as-is for "pure powershell modules".
-
What build tool(s) do people use for their applications?
I've used psake (powershell+make) https://github.com/psake/psake - the main thing that attracted me to this was that it wasn't an XML based system (Nant/MSbuild), and it handled task prerequisites very nicely. While some devs find powershell a bit of a pain to learn, they generally become useful very quickly, and I think it's useful to be able to do some level of powershelling anyway.
-
pake: Just another Make but with Powershell
GitHub - psake/psake: A build automation tool written in PowerShell
What are some alternatives?
When comparing MSBuild and Psake you can also consider the following projects:
Cake - :cake: Cake (C# Make) is a cross platform build automation system.
NUKE - 🏗 The AKEless Build System for C#/.NET
Invoke-Build - Build Automation in PowerShell
FAKE - FAKE - F# Make
CS Make - Sake Build
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
FlubuCore - A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.
Albacore - Albacore is a professional quality suite of Rake tasks for building .NET or Mono based systems.