I started working on some code left by previous developers, and I had a strange problem. C # code in ASP.NET 2.0, and I'm using ReSharper 4.1 in Visual Studio 2008.
This code compiles fine and works in my web application, but ReSharper works with it with the message "Unable to resolve character '<name of class here>'." This is not the end of the world, but I would rather not have red errors in my code files.
Example line:
InvoiceItem invoiceItems = GetInvoiceItems(serviceLineItemID);
InvoiceItemis a .xsd dataset with automatically generated .cs code. I used to use xsd.exe to create .cs files for datasets and included .cs in my project, but this will not work in this situation. I have been a .NET developer for a long time, but this is the first time I have come across this problem.
Any ideas?
source
share