This document explains the developer setup and build execution for Autofac.
Autofac follows the Gitflow workflow process for handling releases. This means active development is done on the develop
branch and we push to master
when it's release time. If you're creating a pull request or contribution, please do it on the develop
branch. We can then build, push to MyGet for testing, and release to NuGet when everything's verified.
- Visual Studio 2015 Premium/Ultimate.
- All of the latest .NET, VS, and SQL patches through Microsoft Update.
- All of the latest VS updates (stable/RTM, not RC) through VS Extension Manager.
At a PowerShell prompt run build.ps1
.
This will build everything in a release configuration and create NuGet packages. It will also run tests and code analysis.
Note: If you are working on the Autofac core, there is
also a project in test/Autofac.Tests.AppCert
that should be built/run
separately to verify changes will pass Windows App Store certification. This
build is not chained into the standard developer build since it takes time to
run. There is a readme in that folder explaining more about how to run that
build and assess results.
Production package versions are controlled through the build and the project.json
files.
The API docs are viewable at http://api.autofac.org. This is hosted on GitHub pages in the https://github.com/autofac/autofac.github.com repository.
- Build the API documentation.
- Update the contents in the
/apidoc
folder with the new docs (add/remove/update). - Make sure the index page in the
/apidoc
isindex.html
- lower case, fullhtml
extension. (By default, Sandcastle makes itIndex.htm
which doesn't work.)