Web Deploy / Publish is adding a unknown connection string?

前端 未结 4 1301
小蘑菇
小蘑菇 2021-01-07 19:09

Previously publishing my web api app was working perfectly. Today i converted my app from being \"any cpu\" to x86. Now when i\'m publishing its adding a connection string t

4条回答
  •  天命终不由人
    2021-01-07 19:57

    Add this project property to the .csproj file by editing the XML:

    
      
    
        false
    
        ...
      
      ...
    
    

    Alternatively, use a Web Publishing Pipeline targets file as described in this related StackOverflow question.

提交回复
热议问题