Cant convert website to webapplication in Visual Studio 2019

Viewed 3131

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://docs.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 webapplication, 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?

Thank you.

1 Answers

I finally found the secret sauce! You have to select the root project node in Solution Explorer and then select "Project". The very last menu item is "Convert to Web Application"!

Related