Debugging NopCommerce using the visual studio is super slow

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
I have 32gb of RAM, and also a Core i7, the only way to see nopcommerce running fast is publishing it towards my local IIS. Running F5 for debug in the Visual Studio is the last option. Any thoughts about this?
I am not using more than 16gb of RAM and the CPU use is around 40% with the Visual Studio
5 years ago
I am experiencing the same poor performance when running in debug mode using Visual Studio 2017.

My computer is an i5, 15GB RAM with an SSD. I have disabled unused projects from building.
5 years ago
Same issue here.
Nop 4.10
Visual Studio 2017
5 years ago
lukejkw wrote:
I am experiencing the same poor performance when running in debug mode using Visual Studio 2017.

My computer is an i5, 15GB RAM with an SSD. I have disabled unused projects from building.


Sorry, I meant 16 GB of RAM
5 years ago
Hey guys,

Try to modify that file Nop.Web\bin\Debug\netcoreapp2.1\Nop.Web.runtimeconfig.dev.json

Add there:

"configProperties": {
      "System.GC.Concurrent": false,
      "System.GC.Server": false
    }

I was searching how to improve performance and I found it. It's worked.
5 years ago
It works for me. thanks dear svm.

Best regards,

Mafdy.
4 years ago
Hi,

I use nopCommerce 4.2. I tried this method, but this code fails. I get this error:

Cannot find compilation library location for package 'Microsoft.Win32.Registry'

Here is my code:

{
  "runtimeOptions": {
    "additionalProbingPaths": [
      "C:\\Users\\joe_a84\\.dotnet\\store\\|arch|\\|tfm|",
      "C:\\Users\\joe_a84\\.nuget\\packages",
      "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
    ]
  },
    "configProperties": {
      "System.GC.Concurrent": false,
      "System.GC.Server": false
    }
  }

I suspect the slow debugging is a IIS or Visual Studio issue.
4 years ago
Yes there have been various Visual Studio issues over the last couple of months.
If you look at the VS forums lots of people have complained and they have made a few new versions. I have version 16.4.0 which is ok on nop4.2 and im about to update to 16.4.2
Stangely version 16.4.0 on nop4.1 has speed issues
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.