inflatablefriends / lastfm

Portable .Net library for Last.fm
Other
100 stars 62 forks source link

Nuget packages not being created properly on AppVeyor #107

Closed rikkit closed 6 years ago

rikkit commented 7 years ago

https://ci.appveyor.com/project/rikkit/lastfm/build/1.0.999.312

pushd .nuget
.\pack.ps1 -versionSuffix prerelease
Exception calling "GetAssemblyName" with "1" argument(s): "Could not load file or assembly 'IF.Lastfm.Core.dll' or one of its dependencies. The system cannot find the file specified."
At C:\projects\lastfm\.nuget\pack.ps1:22 char:1
+ $version = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FileNotFoundException

Setting Inflatable.Lastfm .nuspec version tag to ..-prerelease
Attempting to build package from 'Inflatable.Lastfm...-prerelease.compiled.nuspec'.
NuGet.exe : '..-prerelease' is not a valid version string.
At C:\projects\lastfm\.nuget\pack.ps1:14 char:2
+     & $root\.nuget\NuGet.exe pack "$root\.nuget\$nuspecname.$versionS ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: ('..-prerelease'...version string.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Parameter name: version
Setting Inflatable.Lastfm.SQLite .nuspec version tag to ..-prerelease
Attempting to build package from 'Inflatable.Lastfm.SQLite...-prerelease.compiled.nuspec'.
NuGet.exe : '..-prerelease' is not a valid version string.
At C:\projects\lastfm\.nuget\pack.ps1:14 char:2
+     & $root\.nuget\NuGet.exe pack "$root\.nuget\$nuspecname.$versionS ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: ('..-prerelease'...version string.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Parameter name: version
popd
cp .\.nuget\*.nupkg .
Collecting artifacts...
No artifacts found matching 'src\IF.Lastfm.Core\bin\Release\IF.Lastfm.Core.dll' path
No artifacts found matching 'src\IF.Lastfm.SQLite\bin\Release\IF.Lastfm.SQLite.dll' path
No artifacts found matching '*-prerelease.nupkg' path
Build success