Reputation: 874
If I publish the code then it is not copying in web folder that exists in wwwroot . Empty folder is there but while publishing it is saying that Site was published successfully.
After that it open blank browser with message (To Parent Directory)
It is giving no error.
Building directory '/project/Users/'.
Pre-compilation Complete
------ Publish started: Project: F:\...\project\, Configuration: Debug Any CPU ------
Connecting to site E:\project...
Publishing directory /...
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
Upvotes: 0
Views: 59
Reputation: 874
I got the solution
Publish in debug mode first then change settings and publish in release mode. it will surely work :)
Upvotes: 1