How do I setup Connection Strings for a WebJob project?

前端 未结 3 1540
忘了有多久
忘了有多久 2021-02-02 09:43

I am trying to setup a website and webjob, but get an error everytime I try to publish the webjob independently of the website (i.e. Selecting Publish as Azure WebJob

3条回答
  •  时光取名叫无心
    2021-02-02 09:56

    I found that providing a value for

      
    

    in your publish profile pubxml file got rid of the issue. This can usually be found in \Properties\PublishProfiles. You probably have something like:

    
      
        
          
          
            
          
        
      
    
    

    Changing it to the following fixed it for me:

    
      
        
          
          
            
          
        
      
    
    

    Hope that helps.

提交回复
热议问题