I am trying to port my Asp.Net WebApi project, based on the Onion Architecture design approach, over to Asp.Net Core. However, when I build my class libraries, the compiler
I have been dealing with this error on macOS with .NET Core 2.0, and it appears to be related to my storing my solution in a Google Drive folder. It's certainly not because I am missing main methods in my projects, although intermittently I am seeing files/folders disappear from Rider and re-adding them (add existing item) is resolving the issue. I get the same error in VS for Mac and VS Code, but they don't seem to be updating the folder contents to reflect missing files, so it was harder to pinpoint the issue.
tl;dr Try moving your solution/project out of a synced network drive!