You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was brought up in PowerShell/platyPS#356
PlatyPS 0.9.0 is the first version that was published from macOS.
As far as I understand, PackageManagement uses dotnet cli as nuget client on linux/mac.
Installing.
Previous version of platyPS module (published from windows), worked fine on PSv3 an PM v1.0
The last one throws the exception on Install-Module.
WARNING: NuGet: System.IO.InvalidDataException: Unable to read package from
path 'platyPS.0.9.0.nupkg'. ---> System.IO.FileFormatException: File contains
corrupted data.
WARNING: NuGet: at
MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Read(Byte[] buffer, Int32
offset, Int32 count)
WARNING: NuGet: at MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Read(Byte[]
buffer, Int32 offset, Int32 count)
WARNING: NuGet: at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri,
String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding
encoding)
WARNING: NuGet: at System.Xml.XmlTextReaderImpl.FinishInitStream()
WARNING: NuGet: at System.Xml.XmlReaderSettings.CreateReader(Stream input,
Uri baseUri, String baseUriString, XmlParserContext inputContext)
WARNING: NuGet: at NuGet.XmlUtility.LoadSafe(Stream input, Boolean
ignoreWhiteSpace)
WARNING: NuGet: at NuGet.Manifest.ReadFrom(Stream stream, IPropertyProvider
propertyProvider, Boolean validateSchema)
WARNING: NuGet: at NuGet.LocalPackage.ReadManifest(Stream manifestStream)
WARNING: NuGet: at NuGet.OptimizedZipPackage.EnsureManifest()
WARNING: NuGet: at NuGet.LocalPackageRepository.OpenPackage(String path)
WARNING: NuGet: --- End of inner exception stack trace ---
WARNING: NuGet: at NuGet.LocalPackageRepository.GetPackage(Func`2
openPackage, String path)
WARNING: NuGet: at
NuGet.LocalPackageRepository.<>c__DisplayClass13.<FindPackage>b__f(String path)
WARNING: NuGet: at
System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
WARNING: NuGet: at
System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
WARNING: NuGet: at NuGet.LocalPackageRepository.FindPackage(Func`2
openPackage, String packageId, SemanticVersion version)
WARNING: NuGet: at
NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository,
String packageId, SemanticVersion version, IPackageConstraintProvider
constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted)
WARNING: NuGet: at
NuGet.DataServicePackage.EnsurePackage(IPackageCacheRepository cacheRepository)
WARNING: NuGet: at NuGet.DataServicePackage.get_FrameworkAssemblies()
WARNING: NuGet: at NuGet.PackageExtensions.HasProjectContent(IPackage
package)
WARNING: NuGet: at NuGet.PackageWalker.GetPackageInfo(IPackage package)
WARNING: NuGet: at NuGet.PackageWalker.ProcessPackageTarget(IPackage
package)
WARNING: NuGet: at NuGet.PackageWalker.Walk(IPackage package)
WARNING: NuGet: at NuGet.InstallWalker.ResolveOperations(IPackage package)
WARNING: NuGet: at NuGet.PackageManager.Execute(IPackage package,
IPackageOperationResolver resolver)
WARNING: NuGet: at NuGet.PackageManager.InstallPackage(IPackage package,
Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
WARNING: NuGet: at NuGet.Commands.InstallCommand.InstallPackage(IFileSystem
fileSystem, String packageId, SemanticVersion version)
WARNING: NuGet: at NuGet.Program.Main(String[] args)
Upgrading to PackageManagement 1.6.5 (with a .msi installer), the module installs fine.
The text was updated successfully, but these errors were encountered:
This was brought up in PowerShell/platyPS#356
PlatyPS 0.9.0 is the first version that was published from macOS.
As far as I understand, PackageManagement uses
dotnet
cli as nuget client on linux/mac.Installing.
Previous version of platyPS module (published from windows), worked fine on PSv3 an PM v1.0
The last one throws the exception on
Install-Module
.Upgrading to PackageManagement 1.6.5 (with a .msi installer), the module installs fine.
The text was updated successfully, but these errors were encountered: