Version: 2020.1

Client.Remove(string)

切换到手册

描述

Forces the Package Manager to resolve the project's packages, reinstalling any altered or missing package and removing extraneous packages.

Forces the Package Manager to resolve the project's packages to ensure they are up-to-date and unchanged. If the packages are already up-to-date, no event is raised.
Note: Make sure any other Client operations have completed before calling this method. For more information, see the note on the Client class reference page.