Could not load file or assembly 'System.Diagnostics.PerformanceCounter
Posted: Thu 14 Mar 2019 20:59
Hello,
We bought license for DevArt DotConnect Oracle Professional 9.6. Installed successfully and referenced below .dlls from installed folder (C:\Program Files....) to the project.
1. DevArt.Data
2. DevArat.Data.Oracle.
3. DevArt.Data.Oracle.EFCore (9.6.646) - from Nuget copy
I am getting below error when I run my Asp.Net Core application.
I am not getting any error when I reference above references from NuGet.
I am confused and am not sure what is the correct way to reference these dlls?
Thanks in Advance.
We bought license for DevArt DotConnect Oracle Professional 9.6. Installed successfully and referenced below .dlls from installed folder (C:\Program Files....) to the project.
1. DevArt.Data
2. DevArat.Data.Oracle.
3. DevArt.Data.Oracle.EFCore (9.6.646) - from Nuget copy
I am getting below error when I run my Asp.Net Core application.
System.IO.FileNotFoundException: Could not load file or assembly 'System.Diagnostics.PerformanceCounter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Diagnostics.PerformanceCounter, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at CPQ.Web.Areas.Common.Controllers.BaseController.HandleException(Exception ex, String Message) in
I am not getting any error when I reference above references from NuGet.
I am confused and am not sure what is the correct way to reference these dlls?
Thanks in Advance.