WebRoot Directory is pointed at explicit path to Development Machine even on Server
Bob the Builder of Many Great Structures
0
Reputation points
I build my Dotnet 6 MVC application on my computer and copy it onto the server. Attempting to load the site results in a startup error.
"DirectoryNotFoundException: C:\Users*username*\source\repos\projectname\projectname\wwwroot"
It is somehow looking for a file on the development machine. How do I get it to find the wwwroot on the server machine?
Developer technologies | ASP.NET | ASP.NET Core
4,822 questions
Sign in to answer