I am trying to convert an old Visual Basic web site project, into a web application, using VS2019. I have tried following this:
https://devblogs.microsoft.com/aspnet/converting-a-web-site-project-to-a-web-application-project/
https://learn.microsoft.com/en-us/previous-versions/aa983476(v=vs.140)?redirectedfrom=MSDN
However, when I copy the remaining files (after converting app_code) and try to convert it to a web application, it is unable to parse any of the aspx files. I haven't been able to find the reason for this. Do any one have any ideas?
I finally found the secret sauce! You have to select the root project node in Solution Explorer and then select "Project" from the filebar menu (not the right click menu). The very last menu item is "Convert to Web Application"!
It's a little late now. But it has been useful to me.
Just as @Owen says, see image below. Keep in mind that they must have CodeBehind.
enter image description here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With