Skip to content

Project rebuild times are high for large solutions  #158

@ruhullahshah

Description

@ruhullahshah
  • Description
    If RestorePackages property is set to true in paket.targets (which is the current default behavior), then paket.exe apart from being launched by the plugin at the build start, also gets launched during the build. This increases the build time for large projects.

We couldn't find an API in Microsoft Visual Studio SDK or Microsoft.Build namespace that allows us to manipulate the data structures of the MSBuild Task under progress. Need suggestions on solutions such as providing a UI option to disable restore or other thoughts

Some additional Info:

  1. As a workaround, we currently set RestorePackages to false which is equivalent to saying /p:RestorePackages=false
  2. A reference ticket at MSDN: https://social.msdn.microsoft.com/Forums/en-US/e00643ac-ca87-4fd6-9c47-0e78f4f2e430/is-there-a-programmatic-way-to-manipulate-the-properties-of-current-build-from-within-a-vs?forum=msbuild\

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions