Using NuGet in Visual Studio together with ReSharper may sometimes lead you into an annoying error where ReSharper indicates your code has an error, but the solution builds just fine. This may happen if you have a set of NuGet packages, and you either just restore them, or delete them on disk and then restore again. Your code ends up looking like this, note the red missing functions, which comes from the Moq library - which is downloaded from NuGet: while the Build is still fine, it compiles without ......