Install package restore double logs the restoring packages message #3785

Closed
emgarten opened this Issue Oct 27, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@emgarten
Contributor

emgarten commented Oct 27, 2016

The first message is logged twice

Restoring packages for c:\users\user\documents\visual studio 2017\Projects\ConsoleApp2\ConsoleApp2\ConsoleApp2.csproj...
Restoring packages for c:\users\user\documents\visual studio 2017\Projects\ConsoleApp2\ConsoleApp2\ConsoleApp2.csproj...
Installing System.Runtime.Serialization.Primitives 4.1.1.
Installing Newtonsoft.Json 9.0.1.
Installing NuGet package Newtonsoft.Json.9.0.1.
Committing restore...
Writing lock file to disk. Path: c:\users\juste\documents\visual studio 2017\Projects\ConsoleApp2\ConsoleApp2\obj\project.assets.json
Generating MSBuild file c:\users\juste\documents\visual studio 2017\Projects\ConsoleApp2\ConsoleApp2\obj\ConsoleApp2.csproj.nuget.g.targets.
Generating MSBuild file c:\users\juste\documents\visual studio 2017\Projects\ConsoleApp2\ConsoleApp2\obj\ConsoleApp2.csproj.nuget.g.props.
Restore completed in 1936.8211ms for c:\users\juste\documents\visual studio 2017\Projects\ConsoleApp2\ConsoleApp2\ConsoleApp2.csproj.
Successfully installed 'Newtonsoft.Json 9.0.1' to ConsoleApp2
Successfully installed 'System.Runtime.Serialization.Primitives 4.1.1' to ConsoleApp2
Executing nuget actions took 6.37 sec
========== Finished ==========
Time Elapsed: 00:00:11.4389288

@rrelyea rrelyea added this to the 4.0 RC2 milestone Nov 10, 2016

@rrelyea

This comment has been minimized.

Show comment
Hide comment
@rrelyea

rrelyea Nov 10, 2016

Contributor

@alpaix - while you consolidiate the logging behavior...

Contributor

rrelyea commented Nov 10, 2016

@alpaix - while you consolidiate the logging behavior...

@rrelyea rrelyea modified the milestones: 4.0 RC2, 4.0 RC3 Nov 29, 2016

alpaix added a commit to alpaix/NuGet.Client that referenced this issue Jan 6, 2017

Coordinate log output of install/uninstall/restore
Resolves NuGet/Home#4038.
Resolves NuGet/Home#3785.

Restore logger won't clean output window when auto-restore is running.
Thus keeping install/uninstall log visible after immediate auto-restore in
.NET Core projects.

Some refactoring of UI services for better code re-use.

alpaix added a commit to alpaix/NuGet.Client that referenced this issue Jan 6, 2017

Coordinate log output of install/uninstall/restore
Resolves NuGet/Home#4038.
Resolves NuGet/Home#3785.

Restore logger won't clean output window when auto-restore is running.
Thus keeping install/uninstall log visible after immediate auto-restore in
.NET Core projects.

Some refactoring of UI services for better code re-use.

alpaix added a commit to alpaix/NuGet.Client that referenced this issue Jan 6, 2017

Coordinate log output of install/uninstall/restore
Resolves NuGet/Home#4038.
Resolves NuGet/Home#3785.

Restore logger won't clean output window when auto-restore is running.
Thus keeping install/uninstall log visible after immediate auto-restore in
.NET Core projects.

Some refactoring of UI services for better code re-use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment