Intellisense in .aspx for new tags added to web.config / control

When I add an element to a controls

node .aspx

doesn't reflect it immediately. Often, along the way, it will appear (when I could have used it before).

Obviously Visual Studio is using the cache somewhere. How do I update this cache so that I can get intellisense in properties .aspx

for properties and what not?

  <pages>
    <controls>
        <add tagPrefix="asp" namespace="System.Web.DomainServices.WebControls" assembly="System.Web.DomainServices.WebControls"/>
    </controls>
  </pages>

      

0


a source to share


2 answers


Try adding assemblies to Web.config (assuming it's a different assembly for your main one):



<add assembly="System.Web.DomainServices.WebControls, Version=...."/>

      

0


a source


Obviously, you will get errors in your code. Comment out the code causing the error. Build a solution. Then uncomment the code. Build a solution. See if it works



0


a source







All Articles