简体   繁体   中英

Build Error on upgrading Azure SDK to 2.9.6 - Unable to get setting value Parameter name: profileName

After upgrading the Azure SDK version to 2.9.6 from 2.5, while running the application getting error "Unable to get setting value Parameter name: profileName".

I have followed this Link and it does not resolve my issue.

Any help is appreciated!

I can repro it if there is no serviceConfiguration.Local.cscfg with azure sdk 2.9.6.

在此处输入图片说明

I have followed this Link and it does not resolve my issue.

If it is not existing or correct serviceConfiguration.Local.cscfg . I resolved the issue by copy the serviceConfiguration.Cloud.cscfg and rename the copy file to the serviceConfiguration.Local.cscfg . The following is my detail steps, hope it is useful.

If the solution has [work role] and [web role], please have a try to make sure both of the projects have corresponding serviceConfiguration.Local.cscfg file.

  1. Right click the Cloud Service and select the [Manage configurations..] option.

在此处输入图片说明

  1. We can remove ,copy and rename the configuration file with popup windows

在此处输入图片说明

  1. After that it works correctly

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM