Visual Studio taking long time to build and load s

2019-09-05 04:10发布

Visual studio is taking a longer time to open the solution ,to build and I just have 6 projects.When I examined the fiddler I see below requests to nugget and notice that once this request is complete the visual studio becomes responsive.

enter image description here

Can any body suggest the below:

  1. what are these requests for nugget?
  2. Is VS becoming slow because of this as I am suspecting?
  3. How to stop these requests?

1条回答
男人必须洒脱
2楼-- · 2019-09-05 04:53

These requests can be a result of your solution enabling automatically restoring NuGet packages, You can disable it in the VS under Tools -> NuGet Package Manager -> Package Manager Settings, and unchecked the "Allow NuGet to download missing packages".

If you need package restore, make sure that you have a good connection to the NuGet Gallery or disable all the unrelevant sources, under the Package Manager Settings.

bye

查看更多
登录 后发表回答