Hello All,
Before I go into what's wrong I'll give you a little bit of background on what I'm running:
I'm running VS 2008 SP1, .NET 3.5, developing in C#, using ASP.NET and AJAX, and running in windows vista (unfortunately).
I've got a problem where every time I try to create a control, the designer doesn't update and will not give me access to the control in the code behind. This only happens on my machine. When I commit my code to our subversioning tool (SVN) my co-workers can run my code after they update their designers. They are running the same image as my machine.
I've google'd the problem and came up with a view "solutions," none of which have worked. Here's what I've tried:
-Opening up in design view to force the designer to re-render.
-Deleting the .designer.cs file and then right-clicking on the project to convert to web application. When I do that I get this error:
Error 1 Generation of designer file failed: Unable to create type 'AJAX:ValidatorCalloutExtender'. Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.\wucManageTeamMember.ascx 1
-I have the system.web.extensions in my references.
-I've tried moving various DLL's into my bin folder (system.web.extensions.design.dll and system.web.extensions.dll) I don't have the microsoft.web.etc DLL's that have been recommended but neither do my co-workers who can run the app.
-I've tried uninstalling and reinstalling the .NET framework as well as visual studio.
We're thinking that there's something wrong with the way my system.web.extensions is registered to my machine or corrupted in some way. As you saw in the error message, visual studio is saying that it could not load it even though I have it in my references and in my bin. Short of a reformat, does anyone know how I can correct this?? Any help is appreciated.