K
KennyRay549.2
Guest
I have a program that has been running on Windows 10 systems that are using .NET Framework versions prior to 4.8. During the troubleshooting process, I discovered that the KernelBase.dll version is 10.0.17xxx.xxx on the failing machines that are using .NET 4.8, whereas the machines where the program is still running are using a version such as 10.0.14xxx.xxx.
My problem is, I have tried to include the older version of KernelBase.dll in my program, without any success.
I have tried adding it as a Reference to the Project in Visual Studio, but get the following error:
A reference to 'C:\Path_to_File\KernelBase.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
I have placed the .dll file in various locations, and continue to receive the same error.
I have also tried using DllImportAttribute Class to add the .dll to my program, with no luck at all.
Another thing I have tried is to embed the .dll inside my program, but that has not worked either.
I am using Visual Studio 2017, version 15.5.7, and programming in C#.
Any ideas/suggestions/hey, dummy, try this/pointers will be greatly appreciated.
Kenn Simons Senior Programmer
Continue reading...
My problem is, I have tried to include the older version of KernelBase.dll in my program, without any success.
I have tried adding it as a Reference to the Project in Visual Studio, but get the following error:
A reference to 'C:\Path_to_File\KernelBase.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
I have placed the .dll file in various locations, and continue to receive the same error.
I have also tried using DllImportAttribute Class to add the .dll to my program, with no luck at all.
Another thing I have tried is to embed the .dll inside my program, but that has not worked either.
I am using Visual Studio 2017, version 15.5.7, and programming in C#.
Any ideas/suggestions/hey, dummy, try this/pointers will be greatly appreciated.
Kenn Simons Senior Programmer
Continue reading...