It's hard to answer this as-is I think. Can you try starting a totally new webforms project and check if you can reference the dll there?
What is the dll? The person on the asp.net forum was asking you to add a reference to the project instead of the dll, on the assumption you actually have the source for the project (that generates the dll). Do you? If so, including it in your solution, and just adding a reference to it, will be fruitful, but may not be possible. On Tue, Jan 25, 2011 at 11:42 AM, Glen Harvy <[email protected]> wrote: > Hi, > > I have asked this question in the asp.net forums as well as stackoverflow > without any success and I am hoping that someone could help me out. > > First of all I just changed my Target Framework from 2 to 4 in a asp.netweb > forms application that was working perfectly well in asp.net2 and now I > have this problem. > > My post on asp.net <http://forums.asp.net/t/1645923.aspx> has all the gory > details but essentially I have created a new Web Forms application in VS2010 > that targets .Net4. It runs fine in the developer web server - it should as > there are no changes :-). I then add a reference to a dll that I have > compiled for .Net4 and VS2010 freezes. When I use Task Manager to shut > VS2010 down I get the following error messages. The message regarding the > source file is not displayed until I run Task Manager to shut VS2010 down. > For testing purposes, I removed that dll and added a reference to a > commercial dll compiled that targets .Net2 with the same results. > > Can anyone suggest what I am doing wrong. > > [image: Error Messages] > > Thanks - any and all suggestions appreciated ..... > > -- Noon Silk http://dnoondt.wordpress.com/ (Noon Silk) | http://www.mirios.com.au:8081 > "Every morning when I wake up, I experience an exquisite joy — the joy of being this signature."
