I have started working on some code left behind by previous developers, and I'm having a strange issue with it. The code is C# in ASP.NET 2.0, and I'm using ReSharper 4.1 in Visual Studio 2008.
This code compiles just fine and works in my Web app, but ReSharper is barfing on it with the message, "Cannot resolve symbol '<name of class here>'
". It's not the end of the world, but I'd rather not have tons of red errors in my code files.
A sample line:
InvoiceItem invoiceItems = GetInvoiceItems(serviceLineItemID);
InvoiceItem
is an .xsd dataset with automatically generated .cs code-behind. In the past, I've used xsd.exe to create the .cs files for datasets, and included the .cs in my project, but that won't work in this situation. I've been a .NET developer for a long time, but this is the first time I've run into this issue.
Any ideas?