1

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

skaffman
  • 398,947
  • 96
  • 818
  • 769
Hossein Moradinia
  • 6,116
  • 14
  • 59
  • 85
  • 1
    Instead of an unintelligible image, post the actual error text. – Oded Feb 04 '11 at 14:55
  • Did you exit Visual Studio and restarted it? R# then re-reads the assemblies. I have seen similar problems (after changing dll on the filesystem) that got fixed by a restart. – Hans Kesting Feb 04 '11 at 15:34

1 Answers1

6

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
Oded
  • 489,969
  • 99
  • 883
  • 1,009