Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

readme.md

MSBuild.Scaffolding

Powershell package that adds basic MSBuild script and required infrastructure to your solution.

Features

  • Creates basic build script that could be used in CI or DEV builds.
  • Updates SharedAssemblyInfo.cs by the prober build and revision number during each build (by using MSBuildCommunity tasks)
  • Enable-Versioning cmdlet allows to easily configure solution projects to use SharedAssemblyInfo.cs.

How to install it and configure solution?

Solution Configuration using Package Manager Console

How solution looks like after Enable-Versioning

Solution Explorer with MSBuild.Scaffolding installed

How to run Build Script?

msbuild {BUILD_SCRIPT_NAME}.proj /p:BuildNumber=1 /p:RevisionNumber=22 /t:publish

Enable-Versioning explained

  • In Visual Studio please open Package Manager Console
  • Type Enable-Versioning and hit Enter - all the projects in the solution will be configured to use version from the SharedAssemblyInfo.cs
  • Type Enable-Versioning {PROJECT_NAME} and hit Enter - only specified project will be configured to use version from the SharedAssemblyInfo.cs

Notes

Please note that this package is the solution level package. It will be added to the solution itself. It won't be downloaded by the NuGet Package Restore feature. Hence all the needed files are being added into Build folder. In order to use Enable-Versioning cmdlet package should be installed.

Copyright

Copyright © 2012 Michael Ayvazyan

License

MSBuild.Scaffolding is licensed under MIT. Refer to license.txt for more information.

About

Powershell package that adds basic MSBuild script and required infrastructure to your solution.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.