Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Publishing a powershell module to Powershell Feed getting Manifest error

    Scheduled Pinned Locked Moved Support
    buildmasterpublishingpowershellproget
    4 Posts 1 Posters 55 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I am trying to publish a PowerShell module to the new PowerShell feed. I keep receiving the below manifest error. The test-mod has a manifest file and Ive Run New-ModuleManifest.
      I also downloaded a module from the PowerShell Gallery and tried to post that and i received the same error.

      <div markdown="1" style="background-color:lightgray;color:red" > Publish-Module : Module 'Test-Mod' cannot be published because it does not have a module manifest file. Run New-ModuleManifest -Path <PathName> to create a module manifest with metadata before publishing.
      </div>

      Any suggestions or help would be so awesome, this is driving me bananas!

      Publish-Module -Repository MyCompFeed -Path Test-Mod -NuGetApiKey api:key -v -Confirm:$false
      

      ProGet Version 4.3.1(Build 5)
      Get-PackageSource MyCompFeed PSModule True True False http://nuget.MyCompFeed
      Get-PackageProvider PSModule 1.0.0.0
      PackageManagement is at version 1.0.0.0
      NuGet Version: 3.4.4.1321
      $PSVersionTable
      PSVersion 5.0.10514.6
      WSManStackVersion 3.0
      SerializationVersion 1.1.0.1
      CLRVersion 4.0.30319.42000
      BuildVersion 10.0.10514.6
      PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
      PSRemotingProtocolVersion 2.3

      Product: BuildMaster
      Version: 5.4.2

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        This error is coming entirely from the client, and is happening before it's reaching ProGet.

        We've heard several reports of inexplicit behavior like this (i.e. this error with a valid package file), so you may want to take this up with the OneGet team.

        However you can just use nuget.exe to publish the package as well.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Do you have any test modules that you guys used to this feature out or simple steps that you could share

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Well i finally was able to publish to our Powershell feed.
            I updated the PackageManagement and PowerShellGet modules to version 1.1.0.0. which were released a few days ago... 12 Oct 2016

            I hope this helps .

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation