« My garden in summer | Main | Canon EOS 1Ds Mark III Bliss »

Resharper and VS2008

I recently installed Resharper 3.0.2 for VS2008. I found that many of my OnClick etc. handlers were marked as errors as the symbols could supposedly not be found. The project compiles fine though. IntelliSense also stopped working properly on many symbols.

After lots of searching I found the cause of the problem - since this issue remained even when I reverted back to VS2005.

http://intellij.net/forums/message.jspa?messageID=5202694#5202694

The essence of the problem is that VS2008 sometimes adds this to your web.config file:

<controls>
..
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0., Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

..
</controls>

To solve the problem change the tag prefix asp to something else like aspajax.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on December 17, 2007 4:15 PM.

The previous post in this blog was My garden in summer.

The next post in this blog is Canon EOS 1Ds Mark III Bliss.

Many more can be found on the main index page or by looking through the archives.