Having a problem about Corenet.h

Everytime I create the C++ class, in visual studio there are Errors. I can’t build solution.