Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project rebuild times are high for large solutions #158

Open
ruhullahshah opened this issue Oct 27, 2017 · 0 comments
Open

Project rebuild times are high for large solutions #158

ruhullahshah opened this issue Oct 27, 2017 · 0 comments

Comments

@ruhullahshah
Copy link
Contributor

ruhullahshah commented Oct 27, 2017

  • 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\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant