Use VS2017 to publish WebAPI stuck in `profile preparation`

Right click on project -> publication -> select publication in folder -> publication

then stuck in "profile preparation". (I waited 10 minutes)

enter image description here

+6
source share
2 answers

Go to the ang project folder, go to "Properties \ PublishProfile" and delete all profiles. Then try publishing again.

+10
source

Do you use ftp publishing?

It looks like a question with VS2017, and the status says another study.

From the stream:

ftp. ​​ .

,

  • Properties\PublishProfiles.
  • Visual Studio.
  • .suo
  • .

, , dotnet msbuild

  • dotnet build /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
  • msbuild /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
0

All Articles