Skip to content

karenpayneoregon/ms-build-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Various examples for MS-Build Task for Visual Studio

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

References

Microsoft docs

Requires

  • Microsoft Visual Studio 2022 or higher