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

Build fails on AppCenter #50

Closed
adam7 opened this issue Sep 14, 2018 · 2 comments
Closed

Build fails on AppCenter #50

adam7 opened this issue Sep 14, 2018 · 2 comments

Comments

@adam7
Copy link

adam7 commented Sep 14, 2018

Hello again

I have my Secrets.cs generating happily from the secrets.json when I build locally, however when I build on AppCenter the build fails with:

error CS0103: The name 'Secrets' does not exist in the current context

This makes sense because that class isn't going to get generated without secrets.json being in the source but obviously my secrets.json file shouldn't be checked in. I've had a look at the demo app but I can't see what I should do to resolve this error.

Thanks for any help :)

@dansiegel
Copy link
Owner

If you haven't added the variables to your build the secrets.json won't generate. You can read more about how to do that in the Demo App ReadMe.

@adam7
Copy link
Author

adam7 commented Sep 14, 2018

Thanks again @dansiegel I just needed to make sure I prepend the variables with Secret_

@adam7 adam7 closed this as completed Sep 14, 2018
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

2 participants