title: Swagger-codegen: error building Pet Store example for .NET Core
body: <p>I am trying out <a href="https://github.com/swagger-api/swagger-codegen" rel="nofollow noreferrer">swagger-codegen</a> to generate the Pet Store example for .NET Core. When I try to build the project, I see this error:</p>
  
  <pre><code>/home/username/test/src/IO.Swagger/IO.Swagger.xproj(7,5): error MSB4019:
  The imported project "/usr/share/dotnet/sdk/1.0.4/Microsoft/VisualStudio/v14.0/
  DotNet/Microsoft.DotNet.Props"
  was not found. Confirm that the path in the &lt;Import&gt; declaration is correct,
  and that the file exists on disk.
  </code></pre>
  
  <p>The exact steps I ran were:</p>
  
  <pre><code>$ java -jar swagger-codegen-cli.jar generate -i 
       http://petstore.swagger.io/v2/swagger.json -l aspnetcore -o test/
  $ cd test/
  $ chmod +x build.sh
  $ ./build.sh
  </code></pre>
  
  <p>Versions:</p>
  
  <pre><code>$ dotnet --version
  1.0.4
  $ java -jar swagger-codegen-cli.jar version
  2.2.3
  </code></pre>
  
  <p>It looks like the generated .NET core project is not compatible with the version of .NET core I am using. How can I easily update the generated project so it works?</p>