"Cannot resolve character" error in Visual Studio 2008?

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?

+5
source share
4 answers

It could be a bug in resharper, disable resharper and see if this is all happening. If so, report a bug to change. They are usually very responsive.

+8
source

I know this a bit later, but I just confirmed that build 1212 seems to work with automatically generated code.

+1
source

ReSharper. ReSharper 4.5 ( ), , . , (). .

0
source

If you used ReSharper to clean the code, it sometimes updates the namespace on the code page, but not on the design side. All this will reduce registration control for reference DLLs. Sometimes it works, sometimes it doesn’t.

edit: wow, this is old ... you need to start watching dates ...

0
source

All Articles