The key of solving this issue is adding the following tag to your app.config or web.config
<system.web>
<compilation debug="false" targetFramework="4.0" />
</system.web>
Note: In some cases, unloading and reloading the project is required.
The key of solving this issue is adding the following tag to your app.config or web.config
<system.web>
<compilation debug="false" targetFramework="4.0" />
</system.web>
Note: In some cases, unloading and reloading the project is required.