Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 32311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:44:34+00:00 2026-05-10T13:44:34+00:00

Sometimes when I’m editing page or control the .designer files stop being updated with

  • 0

Sometimes when I’m editing page or control the .designer files stop being updated with the new controls I’m putting on the page. I’m not sure what’s causing this to happen, but I’m wondering if there’s any way of forcing Visual Studio to regenerate the .designer file. I’m using Visual Studio 2008

EDIT: Sorry I should have noted I’ve already tried:

  • Closing & re-opening all the files & Visual Studio
  • Making a change to a runat=’server’ control on the page
  • Deleting & re-adding the page directive
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:44:35+00:00Added an answer on May 10, 2026 at 1:44 pm

    If you open the .aspx file and switch between design view and html view and back it will prompt VS to check the controls and add any that are missing to the designer file.

    In VS2013-15 there is a Convert to Web Application command under the Project menu. Prior to VS2013 this option was available in the right-click context menu for as(c/p)x files. When this is done you should see that you now have a *.Designer.cs file available and your controls within the Design HTML will be available for your control.

    PS: This should not be done in debug mode, as not everything is ‘recompiled’ when debugging.

    Some people have also reported success by (making a backup copy of your .designer.cs file and then) deleting the .designer.cs file. Re-create an empty file with the same name.

    There are many comments to this answer that add tips on how best to re-create the designer.cs file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes due to the SCM not strictly remembering the timestamp of files the generated
Sometimes I need to quickly extract some arbitrary data from XML files to put
sometimes we can from ClassA do : import com.software.ClassB; classbObject = new ClassB ;
Sometimes it works sometimes not: template <class T> void f(T t) {} template <class
Sometimes my ASP.NET application returns a value of ::1 when querying Page.Request.UserHostAddress. I can't
Sometimes two image files may be different on a file level, but a human
Sometimes, not often, I see these lines in the error log: [Sun Feb 20
Sometimes I've seen a solution that includes up to three .csproj files for each
Sometimes I'm getting the FB is not defined issue when loading the http://connect.facebook.net/en_US/all.js I've
Sometimes it happens that for some reason the process of copying many files (i.e.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.