Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release not detecting release variables #5

Open
cordialamit opened this issue Jan 26, 2017 · 3 comments
Open

Release not detecting release variables #5

cordialamit opened this issue Jan 26, 2017 · 3 comments

Comments

@cordialamit
Copy link

Hi,

I am trying to use this to upload appsettings to azure webapp but it always reports that no settings found in VSTS variables and webapp:

2017-01-26T00:43:40.1733955Z ##[debug]Read-Variables-From-VSTS
2017-01-26T00:43:40.1890137Z ##[debug]Found 0 variables. Variable Values
2017-01-26T00:43:53.5330237Z ##[debug]Read-Settings-From-WebApp
2017-01-26T00:43:53.5486441Z ##[debug]Reading configuration from website ****-gated in resourcegroup ***resource
2017-01-26T00:43:55.1160977Z ##[debug]Fetch appsettings
2017-01-26T00:43:55.1160977Z ##[debug]appsettings: 0

@pascalnaber
Copy link
Contributor

Do you have variables in VSTS with the correct namingconvention, please a screenshot? and do you have appsettings or connectionstrings in your web.config also (which you have selected in the configuration of the task)?

@sandeeppnaik
Copy link

sandeeppnaik commented Apr 7, 2017

I am facing a similar problem. Just to make sure there are no typos, I tried to just update one app setting. E.g. My env variable is set to app.setting.appName. Web.config has the appsetting : appName. I get the following message :
##[debug]Finished reading config file
##[debug]Read-Variables-From-VSTS
##[debug]Found 0 variables. Variable Values
##[warning]Cannot find VSTS variable with name [appsetting.appName]. But the key does exist in the web.config

image

@pascalnaber
Copy link
Contributor

Strange. I'm using the task myself and other people on many projects I know. So I assume there is something you do that is not supported by the task. Do you have a sample solution that shows this behavior also? (with a screenshot of the variables in VSTS). I don't know any other way to help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants