简体   繁体   中英

Visual Studio Solution References

I am fairly new to Windows Programming coming from iOS and just getting my ropes together. So my question is more related to the process of how to setup my foundation, not the coding itself.

I want to use the Systems.IO.Ports library. I created the following structure:

在此处输入图片说明

NO in the SerialServiceRepository I want to use System.IO.Ports, but this cannot be found. So a reference seems missing, but the System Reference is set. I get the error, that the namespace name "Ports" doesn't exist in the namespace "System.IO", whereas in the Project "SkyOps" I can access it. I cannot figure out, which reference I am missing, or how to set it up.

在此处输入图片说明

Can you give me some advice on this?

Best Sebastian

I post my comment as an answer:

"... maybe one project is .NET and the second is .NET Core? ..."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM