# Can’t Use Resharper 4.5 With LINQ-To-XSD

EDIT: This also occurs in Resharper 5.0

Resharper 4.5 breaks the type references when using Linq-To-XSD, which is really lame. Really, really lame since I use it all the time. So, this is what it looks like when you first set your .XSD to a LinqToXsdSchema build action and reference the project (note: I am not talking about using the command line switches to externally generate the strongly typed DAO files but rather using the inherent VS.NET hooks).

This sucks obviously since you lose intellisense, however the freaking project will build correctly! The only way I have found around it is to disable Resharper when accessing your generated classes.

Then it automagically goes back to being able to reference the right types again…

Lame :(