Provides examples for MS-Build task that are not what most developers are aware of and can assist in daily coding task. What is presented is just the tip of possiblities which can be accomplished with MS-Build.
Project | Description |
---|---|
MSBuildCopyFiles | Example for copying folders and files to a working folder |
MsBuildWorkingDirApp | Shows how to set a project working folder |
MsBuildHidePathInExceptions | Shows how to remove paths from runtime exception messages |
MSBuildUsingExampleApp | Shows how to use using directive aliases |
MsBuildVersioningApp | Versioning .NET Core project using Directory.Build.props |
SqlServerLibrary | Companion project for MSBuildUsingExampleApp |
SqlLiteLibrary | Companion project for MsBuildWorkingDirApp |
Microsoft docs
- MSBuild reference for .NET SDK projects
- MSBuild task reference
- MSBuild concepts
- using directive
- Customize your build MSBuild projects that use the standard build process (importing Microsoft.Common.props and Microsoft.Common.targets) have several extensibility hooks that you can use to customize your build process.
- Microsoft Visual Studio 2022 or higher