C# code is not recognizing tools on aspx page VS2013

shahbaz ladak 1 Reputation point
2021-11-18T10:01:07.81+00:00

Hello everyone,

I received a set of code from my company, but there is project file, so I opened VS2013 and from File-> Open -> website. I got all aspx and C# codes in my project but the issue is that C# pages are not recognizing controls placed on main aspx form.150631-1.png150530-2.png150641-3.png

Please see attached files and provide some solution.

Thank you
Ladak

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. cristopheB 551 Reputation points
    2021-11-18T10:07:41.41+00:00

    Hello @shahbaz ladak

    try to delete the default.aspx.designer page and add it again ..
    click right on the page and there is one option ...

    0 comments No comments

  2. shahbaz ladak 1 Reputation point
    2021-11-18T10:14:08.54+00:00

    But I am getting this error on all aspx & c# pages, there are almost 250 pages.
    Need some proper solution.

    Thank you

    0 comments No comments

  3. shahbaz ladak 1 Reputation point
    2021-11-18T10:25:58.7+00:00

    I deleted default files and added again, issue is still there.

    One thing I forgot to wrote, the project was designed in VS 2012 Ultimate version but I am using VS premium version, do you think this is because of change in versions?

    Ladak

    0 comments No comments

  4. cristopheB 551 Reputation points
    2021-11-18T11:07:43.173+00:00

    i suppose you have delete the folder bin and obj in your solution and also clean and rebuild solution ?

    actually i don't know normally no problem about the same version of vs

    0 comments No comments

  5. shahbaz ladak 1 Reputation point
    2021-11-18T11:15:16.617+00:00

    @cristopheB
    bin folder is there, but there is no obj folder. I installed both VS2012 Ultimate and VS2015 premium versions but the issue is same.

    0 comments No comments