问题
My .net solution builds fine but I keep getting intellisense errors "the type or namespace name could not be found ( are you missing a using directive or an assembly reference?)".
I tried suspending and restarting resharper, clear resharper cache, cleaning and rebuilding the solution, restarting my machine, closing and opening visual studio and deleting the suo and obj files by running git clean and going to the directory and verifying that those binaries were deleted. Finally I moved from visual studio 2015 to 2017 but I am still getting the same intellisense error and red squiggly lines throughout my solution
来源:https://stackoverflow.com/questions/45194381/intellisense-error-but-no-build-error