tag:help.appveyor.com,2012-11-13:/discussions/problems/2839-unable-to-read-package-from-path-nuget-problem
AppVeyor: Discussion
2018-08-25T01:59:10Z
tag:help.appveyor.com,2012-11-13:Comment/37699010
2015-08-19T11:42:50Z
2015-08-19T11:42:52Z
Unable to read package from path nuget problem
<div><p>I got this error: Unable to read package from path for several
packages. When I rebuild I got the same error, but not especialy
for the same packages.</p>
<p>I only changed the build number from: 0.1.{build} to 1.1.{build}
and started the buildnumber on 1 again. The previous build (from
the same commit number) did go right. Any idea what's going
wrong></p></div>
jeroen
tag:help.appveyor.com,2012-11-13:Comment/37699010
2015-08-19T14:03:05Z
2015-08-19T14:03:05Z
Unable to read package from path nuget problem
<div><p>Could you send entire build log please?</p>
<ul>
<li>Feodor</li>
</ul></div>
Feodor Fitsner
tag:help.appveyor.com,2012-11-13:Comment/37699010
2015-08-19T14:12:17Z
2015-08-19T14:12:17Z
Unable to read package from path nuget problem
<div><p>Succes:</p>
<p>nuget restore website\projectname.sln -source <a href="http://nuget.episerver.com/feed/packages.svc/">http://nuget.episerver.com/feed/packages.svc/</a>
-source <a href="https://www.nuget.org/api/v2/">https://www.nuget.org/api/v2/</a><br>
Installing 'EPiServer.CMS.Core 8.10.1'.<br>
Installing 'Castle.Core 3.3.3'.<br>
Installing 'DotNetZip 1.9.1.8'.<br>
Installing 'Castle.Windsor 3.3.0'.<br>
Successfully installed 'DotNetZip 1.9.1.8'.<br>
Installing 'EPiServer.CMS.UI.Core 8.5.1'.<br>
Successfully installed 'Castle.Core 3.3.3'.<br>
Successfully installed 'Castle.Windsor 3.3.0'.<br>
Installing 'EPiServer.Framework 8.10.1'.<br>
Installing 'EPiServer.Logging.Log4Net 1.0.0'.<br>
Successfully installed 'EPiServer.Logging.Log4Net 1.0.0'.<br>
Installing 'log4net 1.2.10'.<br>
Successfully installed 'log4net 1.2.10'.<br>
Installing 'Microsoft.AspNet.Mvc 5.2.3'.<br>
Successfully installed 'Microsoft.AspNet.Mvc 5.2.3'.<br>
Installing 'Microsoft.AspNet.Razor 3.2.3'.<br>
Successfully installed 'Microsoft.AspNet.Razor 3.2.3'.<br>
Installing 'Microsoft.AspNet.WebPages 3.2.3'.<br>
Successfully installed 'Microsoft.AspNet.WebPages 3.2.3'.<br>
Installing 'Microsoft.Web.Infrastructure 1.0.0.0'.<br>
Successfully installed 'EPiServer.Framework 8.10.1'.<br>
Successfully installed 'Microsoft.Web.Infrastructure 1.0.0.0'.<br>
Installing 'structuremap 2.6.4.1'.<br>
Successfully installed 'EPiServer.CMS.UI.Core 8.5.1'.<br>
Installing 'Newtonsoft.Json 5.0.8'.<br>
Successfully installed 'structuremap 2.6.4.1'.<br>
Installing 'BVN.404Handler 3.1.2'.<br>
Successfully installed 'Newtonsoft.Json 5.0.8'.<br>
Installing 'Antlr 3.4.1.9004'.<br>
Successfully installed 'Antlr 3.4.1.9004'.<br>
Installing 'bootstrap 3.0.0'.<br>
Successfully installed 'bootstrap 3.0.0'.<br>
Installing 'EntityFramework 6.1.3'.<br>
Installing 'campaignmonitor-api 4.0.1'.<br>
Installing 'EPiServer.CMS 8.10.1'.<br>
Successfully installed 'campaignmonitor-api 4.0.1'.<br>
Installing 'EPiServer.CMS.UI 8.5.1'.<br>
Installing 'EPiServer.Packaging 3.2.2'.<br>
Successfully installed 'EntityFramework 6.1.3'.<br>
Successfully installed 'BVN.404Handler 3.1.2'.<br>
Installing 'EPiServer.Packaging.UI 3.2.2'.<br>
Successfully installed 'EPiServer.CMS.Core 8.10.1'.<br>
Successfully installed 'EPiServer.Packaging 3.2.2'.<br>
Installing 'ImageResizer 3.4.3'.<br>
Successfully installed 'ImageResizer 3.4.3'.<br>
Successfully installed 'EPiServer.Packaging.UI 3.2.2'.<br>
Installing 'ImageResizer.Mvc 3.4.3'.<br>
Successfully installed 'ImageResizer.Mvc 3.4.3'.<br>
Installing 'ImageResizer.MvcWebConfig 3.4.3'.<br>
Successfully installed 'ImageResizer.MvcWebConfig 3.4.3'.<br>
Installing 'ImageResizer.WebConfig 3.4.3'.<br>
Successfully installed 'ImageResizer.WebConfig 3.4.3'.<br>
Installing 'jQuery 1.10.2'.<br>
Successfully installed 'jQuery 1.10.2'.<br>
Installing 'Microsoft.AspNet.Web.Optimization 1.1.3'.<br>
Successfully installed 'Microsoft.AspNet.Web.Optimization
1.1.3'.<br>
Installing 'Microsoft.AspNet.Providers.Core 2.0.0'.<br>
Installing 'Modernizr 2.6.2'.<br>
Successfully installed 'Microsoft.AspNet.Providers.Core 2.0.0'.<br>
Successfully installed 'Modernizr 2.6.2'.<br>
Installing 'Nuget.Core 2.5.0'.<br>
Successfully installed 'Nuget.Core 2.5.0'.<br>
Installing 'WebGrease 1.5.2'.<br>
Successfully installed 'WebGrease 1.5.2'.<br>
Successfully installed 'EPiServer.CMS.UI 8.5.1'.<br>
Successfully installed 'EPiServer.CMS 8.10.1'.<br>
"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe"
"Website\projectname.sln" /verbosity:minimal /logger:"C:\Program
Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
/p:DeployOnBuild=True /p:PublishProfile=appveyor Microsoft (R)
Build Engine version 12.0.31101.0<br>
[Microsoft .NET Framework, version 4.0.30319.34209] Copyright (C)
Microsoft Corporation. All rights reserved.<br>
Restoring NuGet packages... To prevent NuGet from downloading
packages during build, open the Visual Studio Options dialog, click
on the Package Manager node and uncheck 'Allow NuGet to download
missing packages'. All packages listed in packages.config are
already installed. Models\Pages\NewsDetailPage.cs(51,10): warning
CS1030: #warning: 'Check performance'
[C:\projects\development\Website\projectname\projectname.csproj]<br>
projectname ->
C:\projects\development\Website\projectname\bin\Release\projectname.dll
Restoring NuGet packages... To prevent NuGet from downloading
packages during build, open the Visual Studio Options dialog, click
on the Package Manager node and uncheck 'Allow NuGet to download
missing packages'. All packages listed in packages.config are
already installed.
Implementation\Controllers\FormsController.cs(192,38): warning
CS0168: The variable 'ex' is declared but never used
[C:\projects\development\Website\projectname.Web\projectname.Web.csproj]<br>
projectname.Web ->
C:\projects\development\Website\projectname.Web\bin\projectname.Web.dll
Transformed Web.config using
C:\projects\development\Website\projectname.Web\Web.Release.config
into obj\Release\TransformWebConfig\transformed\Web.config. Copying
all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp. Auto ConnectionString Transformed
obj\Release\Package\PackageTmp\Views\Web.config into
obj\Release\CSAutoParameterize\transformed\Views\Web.config. Auto
ConnectionString Transformed
obj\Release\Package\PackageTmp\modules_protected\EPiServer.Packaging.UI\web.config
into
obj\Release\CSAutoParameterize\transformed\modules_protected\EPiServer.Packaging.UI\web.config.
Auto ConnectionString Transformed
obj\Release\Package\PackageTmp\modules_protected\Shell\web.config
into
obj\Release\CSAutoParameterize\transformed\modules_protected\Shell\web.config.
Auto ConnectionString Transformed
obj\Release\Package\PackageTmp\modules_protected\CMS\web.config
into
obj\Release\CSAutoParameterize\transformed\modules_protected\CMS\web.config.
Auto ConnectionString Transformed
obj\Release\Package\PackageTmp\modules\BVNetwork.FileNotFound.RedirectGadget\Views\Web.config
into
obj\Release\CSAutoParameterize\transformed\modules\BVNetwork.FileNotFound.RedirectGadget\Views\Web.config.
Auto ConnectionString Transformed
obj\Release\Package\PackageTmp\Web.config into
obj\Release\CSAutoParameterize\transformed\Web.config. Discovering
tests...OK<br>
Uploading artifact projectname.Web.zip (34.2 MB)...OK<br>
Deploying using WebDeploy provider<br>
Synchronizing contents of "projectname.Web" artifact to website
azure-site-name on server <a href="https://azure-site-name.scm.azurewebsites.net:443/msdeploy.axd?site=azure-site-name">
https://azure-site-name.scm.azurewebsites.net:443/msdeploy.axd?site...</a>
using WebDeploy<br>
Synchronizing website content<br>
Info: Using ID 'a22f40cc-b1d7-4b54-8137-d1700afeb79c' for
connections to the remote server.<br>
Info: Using ID '565e1c1a-38ea-45d2-975f-b2441d2f8e99' for
connections to the remote server.<br>
Info: Updating file (azure-site-name\bin\projectname.dll).<br>
Info: Updating file (azure-site-name\bin\projectname.Web.dll).<br>
Total changes: 2 (0 added, 0 deleted, 2 updated, 147,456 bytes
copied)<br>
Deployment completed<br>
Build success</p>
<p>Failed (based on the same commit):</p>
<p>nuget restore website\projectname.sln -source <a href="http://nuget.episerver.com/feed/packages.svc/">http://nuget.episerver.com/feed/packages.svc/</a>
-source <a href="https://www.nuget.org/api/v2/">https://www.nuget.org/api/v2/</a><br>
Installing 'EPiServer.CMS.Core 8.10.1'.<br>
Installing 'Castle.Core 3.3.3'.<br>
Installing 'Castle.Windsor 3.3.0'.<br>
Installing 'DotNetZip 1.9.1.8'.<br>
Successfully installed 'DotNetZip 1.9.1.8'.<br>
Installing 'EPiServer.CMS.UI.Core 8.5.1'.<br>
Installing 'EPiServer.Framework 8.10.1'.<br>
Successfully installed 'Castle.Core 3.3.3'.<br>
Installing 'EPiServer.Logging.Log4Net 1.0.0'.<br>
Successfully installed 'EPiServer.Logging.Log4Net 1.0.0'.<br>
Installing 'log4net 1.2.10'.<br>
Successfully installed 'log4net 1.2.10'.<br>
Installing 'Microsoft.AspNet.Mvc 5.2.3'.<br>
Successfully installed 'EPiServer.CMS.UI.Core 8.5.1'.<br>
Successfully installed 'EPiServer.Framework 8.10.1'.<br>
Installing 'Microsoft.AspNet.Razor 3.2.3'.<br>
Installing 'Microsoft.AspNet.WebPages 3.2.3'.<br>
Successfully installed 'Microsoft.AspNet.Razor 3.2.3'.<br>
Successfully installed 'EPiServer.CMS.Core 8.10.1'.<br>
Installing 'Microsoft.Web.Infrastructure 1.0.0.0'.<br>
Installing 'Newtonsoft.Json 5.0.8'.<br>
Installing 'structuremap 2.6.4.1'.<br>
Installing 'Antlr 3.4.1.9004'.<br>
Successfully installed 'structuremap 2.6.4.1'.<br>
Successfully installed 'Antlr 3.4.1.9004'.<br>
Successfully installed 'Newtonsoft.Json 5.0.8'.<br>
Installing 'BVN.404Handler 3.1.2'.<br>
Installing 'EPiServer.CMS 8.10.1'.<br>
Installing 'bootstrap 3.0.0'.<br>
Successfully installed 'bootstrap 3.0.0'.<br>
Installing 'campaignmonitor-api 4.0.1'.<br>
Installing 'EntityFramework 6.1.3'.<br>
Installing 'EPiServer.CMS.UI 8.5.1'.<br>
Installing 'EPiServer.Packaging 3.2.2'.<br>
Successfully installed 'BVN.404Handler 3.1.2'.<br>
Installing 'EPiServer.Packaging.UI 3.2.2'.<br>
Successfully installed 'EntityFramework 6.1.3'.<br>
Successfully installed 'campaignmonitor-api 4.0.1'.<br>
Installing 'ImageResizer 3.4.3'.<br>
Successfully installed 'EPiServer.Packaging 3.2.2'.<br>
Installing 'ImageResizer.Mvc 3.4.3'.<br>
Successfully installed 'ImageResizer.Mvc 3.4.3'.<br>
Successfully installed 'EPiServer.Packaging.UI 3.2.2'.<br>
Installing 'ImageResizer.MvcWebConfig 3.4.3'.<br>
Successfully installed 'ImageResizer.MvcWebConfig 3.4.3'.<br>
Installing 'ImageResizer.WebConfig 3.4.3'.<br>
Successfully installed 'ImageResizer.WebConfig 3.4.3'.<br>
Installing 'jQuery 1.10.2'.<br>
Successfully installed 'jQuery 1.10.2'.<br>
Installing 'Microsoft.AspNet.Providers.Core 2.0.0'.<br>
Installing 'Microsoft.AspNet.Web.Optimization 1.1.3'.<br>
Successfully installed 'Microsoft.AspNet.Web.Optimization
1.1.3'.<br>
Installing 'Modernizr 2.6.2'.<br>
Successfully installed 'Modernizr 2.6.2'.<br>
Installing 'WebGrease 1.5.2'.<br>
Installing 'Nuget.Core 2.5.0'.<br>
Successfully installed 'WebGrease 1.5.2'.<br>
Successfully installed 'Nuget.Core 2.5.0'.<br>
Successfully installed 'EPiServer.CMS.UI 8.5.1'.<br>
Successfully installed 'EPiServer.CMS 8.10.1'.<br>
Unable to read package from path 'Castle.Windsor.3.3.0.nupkg'.<br>
Unable to read package from path
'Microsoft.AspNet.Mvc.5.2.3.nupkg'.<br>
Unable to read package from path
'Microsoft.AspNet.WebPages.3.2.3.nupkg'.<br>
Unable to read package from path
'Microsoft.Web.Infrastructure.1.0.0.0.nupkg'.<br>
Unable to read package from path 'ImageResizer.3.4.3.nupkg'.<br>
Unable to read package from path
'Microsoft.AspNet.Providers.Core.2.0.0.nupkg'.<br>
Command exited with code 1</p></div>
jeroen
tag:help.appveyor.com,2012-11-13:Comment/37699010
2015-08-19T14:19:27Z
2015-08-19T14:19:27Z
Unable to read package from path nuget problem
<div><p>Never seen such error before, but looks like nuget was unable to
download packages.</p>
<p>Use this approach to restore with retries: <a href="http://www.appveyor.com/docs/nuget#restore-with-retries">http://www.appveyor.com/docs/nuget#restore-with-retries</a></p></div>
Feodor Fitsner