NuGet version: NuGet Client Dev\5.5.0.6346
VS Version: Master\29612.110
OS: Windows-10-Enterprise-RS5
Updating package âEntityFrameworkâ from version 6.2.0 to 6.4.0 need to restart VS for only 1 time.
Updating package âEntityFrameworkâ from version 6.2.0 to 6.4.0 need to restart VS for 3 times as below screenshot. Thatâs boring to restart VS just for uninstalling the same package âEntityFramework.6.2.0â.

It didnât repro on 16.5 Preview1: D16.5\29521.150 (with implicit NuGet Client 5.5.0.6293)
Only one-time restart request repro on Master\29619.96+NuGet Client Dev\5.5.0.6353. Got the log from handle.exe as below.

PS C:\Users\v-luzh\Desktop\Handle> .\handle.exe -a "C:\Users\v-luzh\source\repos\WebSinglePage\packages\EntityFramework.6.2.0\tools\EntityFramework.PowerShell.Utility.dll"
Nthandle v4.22 - Handle viewer
Copyright (C) 1997-2019 Mark Russinovich
Sysinternals - www.sysinternals.com
devenv.exe pid: 14520 type: File 2084: C:\Users\v-luzh\source\repos\WebSinglePage\packages\EntityFramework.6.2.0\tools\EntityFramework.PowerShell.Utility.dll
Hi @v-luzh, is this a regression?
I tried but could not repro on 16.5 Preview4 (restarted only 1 time).
But I'm not sure if it's fixed on 16.5 Preview4. Could you help to repro on 16.5 Preview4, to see if it still exists? Thanks!
Hi @v-luzh, to be more accurate, can you help to repro on latest VS version in rel/d16.5? Thanks!
Close it as couldn't repro on 16.5 Preview4.
Pls reopen it if you can still repro. Thanks!
Hi @heng-liu, sorry, just saw your message since I didn't get your update comments in my mail-reminder. I can repro this bug on D16.5 GA (D16.5\29905.175)--asked to restart twice. Please help to reactivate it, thanks.
Hi @v-luzh , I just tried twice the following steps, but could not repro. (only 1 restart is required)
May I know if I miss anything in the repro? Or can you pls provide the detailed repro steps? Thanks!






Hi @heng-liu, you can see the second-time restart request (as below screenshot) in PM Console in your step6.

Hi @v-luzh thanks for your reply! I'm able to repro now :)
This is after updating all the packages, before the first restart

If I click the restart button on the top, after the first restart, I could not found any restart request in my repro..

If I click the restart button on the bottom(in PMC), then after restart, there will be another restart request in PMC.
So in your repro, you click the restart in PMC, right? Thanks!
Hi @heng-liu, yes, that's how I repro this issue. Please have a look, thanks,
It doesn't repro on ASP.NET .netcore. Only repro for ASP.NET .netframework.
And after clicking restart in PMC for two times, it goes back to normal. So it doesn't affect any operation after it.