title: How to deploy a dotnet core app using AWS CodePipeline to ElasticBeanstalk
body: <p>I'm trying to build a basic dotnet core application and deploy it using the default tool available to me in AWS. I currently have the following steps working:</p>
  
  <ol>
  <li>Repository in CodeCommit</li>
  <li><p>Checkin triggers CodeBuild build step on the Ubuntu image "aws/codebuild/dot-net:core-2.1" which runs the yml file(which creates the correct files I need to actually run the web app):</p>
  
  <pre><code>version: 0.2
  
  phases:
  
  build:
  commands:
    - dotnet restore CMS/CMS.csproj
    - dotnet build CMS/CMS.csproj
    - dotnet publish CMS/CMS.csproj -o site
   artifacts:
    files:
      - CMS/site/**/*
      - CMS/aws-windows-deployment-manifest.json
  </code></pre></li>
  </ol>
  
  <p>aws-windows-deployment-manifest.json:</p>
  
  <pre><code>{
      "manifestVersion": 1,
      "deployments": {
          "aspNetCoreWeb": [{
                  "name": "CMS",
                  "parameters": {
                      "appBundle": "./site",
                      "iisPath": "/",
                      "iisWebSite": "Default Web Site"
                  }
              }
          ]
      }
  }
  </code></pre>
  
  <ol start="3">
  <li>CodeDeploy takes the artifacts and published them to an elastic beanstalk application configured to use windows. It's currently running the default application.</li>
  </ol>
  
  <p>It runs through each step fine and I get green check marks throughout, but when I navigate to the EB instance the original site is still shown, showing me that my application hasn't been deployed. Is there something I'm missing?</p>
  
  <p>I was really hoping I would be able to deploy an app from check in to finish without needing to modify a build environment, at least right now.</p>