Description
We use a build script for our dotnet projects that handles build, test, docs etc and allows our repos to be as agnostic as possible to a lot of what happens during the build. The issue I am facing is that when running docfx meta doxfx.json
it looks for packages to restore. This causes a down stream issue because it effects the nuget pack step which explicitly avoids restoring packages (--no-restore --no-build
). To avoid this the docfx.config
files in each repo need to have the noRestore
flag set to true in the metadata
section which is leaking build knowledge into each repository.
It would be nice to pass a --noRestore
(or better still --no-restore
) flag in the command line similar to the --disableGitFeatures
, --disableDefaultFilter
flags which mimic the related config values.