tag:help.appveyor.com,2012-11-13:/discussions/questions/1560-nupkg-for-aspnet-5-buildAppVeyor: Discussion 2018-10-19T08:17:23Ztag:help.appveyor.com,2012-11-13:Comment/375923502015-08-07T15:14:45Z2015-08-07T15:14:45Znupkg for ASP.NET 5 build<div><p>Hi Tom,</p>
<p>This should work I guess for ASP.NET 5 projects too: <a href="http://www.appveyor.com/docs/nuget#configuring-appveyor-nuget-feeds-for-your-builds">
http://www.appveyor.com/docs/nuget#configuring-appveyor-nuget-feeds...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375923502015-08-07T20:47:25Z2015-08-07T20:47:26Znupkg for ASP.NET 5 build<div><p>Hi Feodor,</p>
<p>I think my question was not that clear. It is about the packages
that my project produces, not about those that it consumes.<br>
The build log shows it is copying the nugget files at some point,
but I have no idea where.<br>
The ASP.NET 5 builds, use a build.cmd script.</p>
<p>Wkr,</p>
<p>Tom</p></div>Tom Deseyntag:help.appveyor.com,2012-11-13:Comment/375923502015-08-07T21:03:17Z2015-08-07T21:03:17Znupkg for ASP.NET 5 build<div><p>So, project A produces nuget packages that are pushed to a
project nuget feed and the questions is how to grab those packages
in project B?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375923502015-08-07T21:22:27Z2015-08-07T21:22:27Znupkg for ASP.NET 5 build<div><p>project A produces some nugget packages, how to get them into
the project A nuget feed?</p>
<p>The build log shows nupkg packages are copied. I would like to
get those in the project nuget feed.<br>
e.g.: Copying Tmds.SockJS.0.3.0-t150807102007.nupkg</p></div>Tom Deseyntag:help.appveyor.com,2012-11-13:Comment/375923502015-08-07T22:32:42Z2015-08-07T22:32:42Znupkg for ASP.NET 5 build<div><p>OK, got it. Whenever you push nuget package to artifacts it's
getting published in account and project feeds automatically:
<a href="http://www.appveyor.com/docs/packaging-artifacts">http://www.appveyor.com/docs/packaging-artifacts</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T15:39:21Z2015-08-10T15:39:22Znupkg for ASP.NET 5 build<div><p>I tried configuring this using the Artifacts section in the
settings.<br>
I added an artifact line with the following settings:<br>
- path to artifact: '***.nupkg' - deployment name: nupkg - type:
auto</p>
<p>I did a build.<br>
When I open the nuget feed in the browser it looks empty. Also
adding the feed to Visual Studio shows no packages.</p>
<p>Did I get the settings wrong? Should the build log show when the
artifacts are published on the nuget feed?</p></div>Tom Deseyntag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T15:40:24Z2015-08-10T15:40:24Znupkg for ASP.NET 5 build<div><p>Do you see those packages on "Artifacts" tab of project build
results page?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T15:47:36Z2015-08-10T15:47:38Znupkg for ASP.NET 5 build<div><p>No, there is a text saying 'The build job does not contain any
artifacts.</p></div>Tom Deseyntag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T15:49:33Z2015-08-10T15:49:33Znupkg for ASP.NET 5 build<div><p>That means nuget packages are not uploaded to artifacts.</p>
<p>Do you use appveyor.yml by chance or all settings via UI?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T15:52:02Z2015-08-10T15:52:03Znupkg for ASP.NET 5 build<div><p>I have some settings in appveyor.yml others are in the UI.</p>
<p>This is the appveyor file: <a href="https://github.com/tmds/Tmds.SockJS/blob/master/appveyor.yml">https://github.com/tmds/Tmds.SockJS/blob/master/appveyor.yml</a></p></div>Tom Deseyntag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T16:01:41Z2015-08-10T16:01:41Znupkg for ASP.NET 5 build<div><p>With appveyor.yml settings on UI are ignored (except environment
variables and notifications).</p>
<p>You could add <code>artifacts</code> to appveyor.yml:</p>
<pre>
<code>artifacts:
- path: '**\*.nupkg'</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/375923502015-08-10T16:37:49Z2015-08-10T16:37:49Znupkg for ASP.NET 5 build<div><p>Works like a charm. Thanks.<br>
Perhaps the documentation and UI can improve to better highlight
this limitation.</p></div>Tom Deseyn