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

Issue 1835 handle auto-restore on twice #1836

Merged
merged 5 commits into from Aug 1, 2016

Conversation

Projects
None yet
2 participants
@JohanLarsson
Contributor

JohanLarsson commented Jul 28, 2016

Fix for running auto-restore a second time on a project.
Integration tests for one and two runs.

@JohanLarsson JohanLarsson changed the title from Issue 1835 auto restore on twice to Issue 1835 handle auto-restore on twice Jul 28, 2016

Show outdated Hide outdated src/Paket.Core/VSIntegration.fs
@@ -34,7 +33,9 @@ let TurnOnAutoRestore environment =
do! downloadLatestBootstrapperAndTargets environment
let paketTargetsPath = Path.Combine(exeDir, Constants.TargetsFileName)
environment.Projects
// creating new projects after call to TurnOffAutoRestore to ensure they get saved.
let! projects = InstallProcess.findAllReferencesFiles(environment.RootDirectory.FullName)

This comment has been minimized.

@JohanLarsson

JohanLarsson Jul 28, 2016

Contributor

This is probably not the most elegant way.

@JohanLarsson

JohanLarsson Jul 28, 2016

Contributor

This is probably not the most elegant way.

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Aug 1, 2016

Member

cool. thanks

Member

forki commented Aug 1, 2016

cool. thanks

@forki forki merged commit 4f9c767 into fsprojects:master Aug 1, 2016

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment