After VisualStudio referenced in the corresponding class library, not using corresponding library

Today in doing the project, they have again "YiWu.WebUI" project referenced in the "YiWu.Domain" library, but how are using less than the corresponding class file folder, as shown in the following figure
Here Insert Picture Description
above figure, Bo the Lord has succeeded cited "YiWu.Domain" this library, but in "YiWu.WebUI" is not a reference to "Deal.cs" l class files "Entities" in.
using less than the corresponding library
Here Insert Picture Description
strange, I go back again in VS2013 rheological found everything normal can refer to. When we later learned to create a new class file in vs2017 and beyond, not used by default public, so it can not access
Here Insert Picture Description
manually add publiclater, no problem. Here the record about yourself, but also to experience this strange friend a reference.
Here Insert Picture Description
Here Insert Picture Description

Published 62 original articles · won praise 68 · views 160 000 +

Guess you like

Origin blog.csdn.net/ZUFE_ZXh/article/details/88206501