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

AWS Elastic Beanstalk Deploy Application not working with .net core mvc project #99

Open
onurucak opened this issue Aug 29, 2018 · 3 comments

Comments

@onurucak
Copy link

Hi team,
i just created a so simple .net core mvc projects ( tried both 2.0 and 2.1)
and follow the all steps to deploy the .net core project on VSTS via "AWS Elastic Beanstalk Deploy Application" task. but always getting the same error.

29.08.2018 14:25:15 Error during deployment: Application app is missing web.config file.

but i can deploy the same project on visual studio with right clicking the project and clicking the Publish to AWS Elastic Beanstalk feature.

any idea why?

vsts-elastic

deploytoelastci-vsts

visualstudio

@anti-matter
Copy link

I am seeing this error too. Repo seems to be pretty straight forward, just try to configure an asp.net core 2.2 project to be deployed to Elastic Beanstalk. I always get the same error as noted above. The problem appears to be that the .zip file created during the publish task contains an /app directory which contains the application bits that need to be deployed. EB is expecting all the files to be at the root and doesn't look for an /app directory.

image

Is there a configuration I'm setting incorrectly? I've read every bit of documentation there is, but unfortunately there isn't much coverage of asp.net core apps (more focus on .net framework).

@shashi20170925
Copy link

I'm running into same issue. There is app folder getting created inside the zip file and then all the contents + web.config are present in the app folder.

@prashankprince
Copy link

I am getting similar issue. While I am able to deploy using visual studio, I cant do same using Azure Devops.

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

No branches or pull requests

5 participants