C# code is not recognizing tools on aspx page VS2013

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

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.
1,174 questions
No comments
{count} votes

8 answers

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

    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 ...

    No comments

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

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

    Thank you

    No comments

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

    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

    No comments

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

    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

    No comments

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

    @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.

    No comments