No link between aspx file and aspx.cs .Net framework 4.7.2
Hello everyone first post on this server. Sorry to bother you but impossible to make the link between the 2 pages even with the help of all the Stack Overflow topics that talk about the problem.
MGBasePage inherits from System.Web.UI.Page
Thanks in advance for your help
37 Replies
nobody for me 🥲
Are you getting a build error?
hi, yes not invalible in the current context
with all id define in the aspx file
Can you show the error ?
yes I will
sorry to have taken so long
So how did you create the aspx page file?
Was is already created and you renamed it? @Mr.Mal
No I take this project
Also check your csproj file does it have entries like this?
I look
no I don't have any file like that
It would be at the root of the project ?
Yes it's the project file (
.csproj
)nothing
but neither is it on the server hosting the site (which is stable).
How did you open the project in visual studio?
I create a « asp.net web app(.net framework) : empty » and I paste all files
I take all references and lib with error code through build error
That’s all