-
I'm developing a WPF application for implementing a serial interface. I am implementing MVVM structure using MVVMCross framework. Serial port class does not exist in the .NET Standard 2.0 but there is a System.IO.Ports nuget package to use serial ports. My problem begins here, i am trying to use this nuget package but whenever i use serialport class, app throws an System.IO.FileNotFoundException. In the output it says:
(MvxBeginner.Core is the project name) I am not sure if this exception is related with .net standard or with MVVMCross. If anyone have any ideas i would really appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Can you please provide the full stack trace? |
Beta Was this translation helpful? Give feedback.
-
Well, i tried to solve this problem for a day. Problem is solved when i added the nuget package to WPF project as well. Before that i installed nuget package only to the core project. Thank you for the response though. |
Beta Was this translation helpful? Give feedback.
Well, i tried to solve this problem for a day. Problem is solved when i added the nuget package to WPF project as well. Before that i installed nuget package only to the core project.
Thank you for the response though.