System.IO.FileNotFoundException: 'Could not load file or assembly System.Diagnostics.EventLog
Jenish Patel
0
Reputation points
I want to open a cash drawer in WPF using the .NET 7 framework. Firstly, I created the class library in.Net 4.5, and that reference was used in another class library from the same solution.
Note: Point of service is working fine only in .net framework 4.5, but I need to use it in my project, which is being used in .net framework 7.0.
CashDrawer1 project used by .Net Framework 4.5
ConsoleApp2 project used by .Net Framework 7.0
Developer technologies Windows Presentation Foundation
2,854 questions
Developer technologies .NET Other
4,103 questions
Developer technologies C#
11,568 questions
Sign in to answer