For me, I moved the code folder, and for some reason
WebApiConfig.cs
AuthConfig.cs
Filter.cs
BundleConfig.cs
was excluded from the project, re-enabled them, and he worked again. Since the folder was not expanded, I never realized that they were excluded.
source
share