Right click project -> publish -> select publish to folder -> publish
then got stucked in “preparing profile” . (I'vs waited for 10 mins)
Go to your project folder ang go to "Properties\PublishProfile" and delete all profiles. Then try to publish again.
Are you using ftp publishing ?
Looks like an issue with VS2017 and the status says still under investigation.
From the thread:
We are aware of the issue with ftp publishing. The bug has been fixed and should be available in an upcoming release.
Please do following
If you are still running into issue,You can use publish profile from command line using dotnet build command or msbuild command
dotnet build /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
msbuild /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
Delete the Folder named PublishProfiles fix the problem. I believe is there a issue related to read/write folder problems.
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