Issue with files to publish

ВЕСЕЛИН ДИМОВ 41 Reputation points

Hello, friends.

I am asking for help with a strange situation for me.

Visual Studio 2022 Professional

Using Visual Basic, I want to make an application to publish on the Internet. Select New Project, ASP.NET Web Application. I write a code and make my app. On local computer all work normaly. After this I want to publish my app. For this purpose I choose Publish - Folder. The contents of the publish files folder are as follows:


When I post this content I always get an error message and the online app doesn't work.

Some time ago I made similar applications, but with Visual Studio Pro 2013. Then the option was used New - Web site and the files to publish were: index.aspx, index.aspx.vb,Web.config.

Please help me where I am wrong and what are the correct steps to publish on the Internet an application made in New Project, ASP.NET Web Application.

With Best regards:

Veselin Dimov

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,594 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ВЕСЕЛИН ДИМОВ 41 Reputation points

    I already feel like I was wrong when I originally created the project. There was no such problem in the old version. It was easy there - New - Web site and done. Where can I be wrong?

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    Comments have been turned off. Learn more