Link between aspx , aspx.cs , aspx.designer.cs files is broken in the entity framework project of ASP.NET application in Visual studio 2022

Amritpal Singh 60 Reputation points
2023-06-15T19:04:56.4566667+00:00

All files were in correct place when I just created the project , but when I opened another project, and after sometime opened the same entity framework project link between all files separated , usually you see aspx files in a dropdown. This broken link is creating runtime errors for the application , as now the buttons and textfields which I created in designer files is not recognized by the .cs files , where all the C# code is written . Why it is happening? brokenLink

Developer technologies | .NET | Entity Framework Core
Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Besko 81 Reputation points
    2023-06-15T19:49:48.4366667+00:00

    Hi Amritpal,

    You have the Solution Explorer in Folder View. Click the "Switch between solutions and available views" button (to the right of the Home button at top of Solution Explorer). You should then see your solution file. Double-click that.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.