I'm in the process of giving a .NET 2.0 application a brand new UI using WPF. I created a whole new solution but there are a few .NET 2.0 class library projects from the original that I have copied in. They build fine by default. I want to change them to
target the .NET framework 4.0 though so that this application won't require two different versions to be installed. When I change it to target .NET 4.0 client profile it gives me a big list of errors saying that references to a another custom 2.0 library (not
in the solution) don't exist (E.G. The type or namespace 'x' could not be found (are you missing a using directive or an assembly reference?)). I'm not missing either. In fact the very first error is complaining about the line containing my using directive.
Can you not reference a 2.0 library from a 4.0 project?
View Complete Post