Search code examples
c#resharperimage-scanner

Solve Resharper Error in C#


I Use VSTwain Component To Scan Images With Scanner.How Can I Solve Flowing Error?

After Edit: My Application Compile And Run Correctly,But Resharper show the following error. When I write "VSTwaint1." in Visual Studio, Red Methods Can Not Show In Vs. But My Software work Correctly. enter image description here


Solution

  • You probably need to import the namespace with the right using directive.

    From the examples, I would say this is:

    using VSTWAINLib;
    

    Seeing as the issue is with ReSharper only, there are several things to try:

    • Restart Visual Studio. ReSharper may have simply gotten out of sync.
    • Clear the ReSharper cache - it might have stale data that didn't get regenerated. ReSharper --> Options --> General --> Clear Caches