How to get back <Subtype>AspxCodeBehind<Subtype> tag?

I have a problem with my AllNotifications.aspx page, after build it removing AspxCodeBehind tag from cs.proj and I cannot reach my webmethods on run, it says

"The controller for path was not found or does not implement IController."

Before build

<Compile Include="AllNotifications.aspx.cs">
  <DependentUpon>AllNotifications.aspx</DependentUpon>
  <SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="AllNotifications.aspx.designer.cs">
  <DependentUpon>AllNotifications.aspx</DependentUpon>
</Compile>

After build

<Compile Include="AllNotifications.aspx.cs">
  <DependentUpon>AllNotifications.aspx</DependentUpon>
</Compile>
<Compile Include="AllNotifications.aspx.designer.cs">
  <DependentUpon>AllNotifications.aspx</DependentUpon>
</Compile>

Please help. I can't find the reason.