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

796 Views Asked by At

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!

1

There are 1 best solutions below

0
On BEST ANSWER

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

enter image description here

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.

enter image description here

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

enter image description here

  1. After that it works correctly

enter image description here