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!

    Extensions directory

    Scheduled Pinned Locked Moved Support
    progetsdk
    13 Posts 1 Posters 30 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

      SharpZipLib should not be included in the .progetx archive, as it is already loaded by the ProGet web app and service.

      Also, can you verify that the assembly name matches the xxxxx.progetx file name? For example, if your assembly name is "CustomExtension.dll", it should be in the file "CustomExtension.progetx".

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

        Tod,

        Thanks for the reply.

        I removed SharpZipLib from the archive.

        I renamed my CustomExtension.dll to CustomExtension.progetx

        Stopped the service, copied this file and restarted the service, still no extension or errors detected.

        -Reddy

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

          Could you send your .progetx file to support@inedo.com?

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

            I sent the file to email specified.

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

              We haven't received anything yet. Could you try to re-send?

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

                Tod,

                I sent it again. Let me know if you don't receive it.

                Thanks

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

                  After placing the file in my extensions path and restarting the service, I was able to see the extension.

                  Did you also make sure to restart the web application?

                  If so, try running the service interactively (i.e. stop the ProGet Windows service and run the ProGet.Service.exe file manually). This will show detailed log output to the console window, and one of the first messages will be about extension loading, e.g. "Initializing Extensions Manager..." and somewhere below that "Loading Extension XXXX..."

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

                    Tod,

                    Thanks for the reply. I am seeing the extension now.

                    However my extension is not working as expected.

                    I updated my feeds Package Store XML Configuration as
                    <MyNameSpace.MyDirectoryPackageStore Assembly="MyAssembly">
                    </MyNameSpace.MyDirectoryPackageStore>

                    I even added call to
                    StoredProcs.LogMessages_AddMessage
                    to log message and I am not seeing any of my messages in [LogMessages] table.

                    I see the following in recent errors section:

                    A severe error occurred when attempting to index the feed named "Test Feed". This feed's packages will not be indexed until the problem is corrected. For reference, the full error was: System.ArgumentException: Assembly 'MyAssembly' was not found. The Extension may have been deleted or could not be loaded.
                    Parameter name: assemblyName ---> System.IO.FileNotFoundException: Could not load file or assembly 'MyAssembly' or one of its dependencies. The system cannot find the file specified.
                    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
                    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
                    at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
                    at Inedo.ProGet.Extensibility.Persistence.CreateInstance(String assemblyName, String typeName)
                    --- End of inner exception stack trace ---
                    at Inedo.ProGet.Extensibility.Persistence.CreateInstance(String assemblyName, String typeName)
                    at Inedo.ProGet.Extensibility.Persistence.DeserializeFromPersistedObjectXml(String objXml)
                    at Inedo.ProGet.Extensibility.PackageStores.FeedExtensions.CreatePackageStore(Feeds feed, Nullable`1 pollFrequency)
                    at Inedo.ProGet.Service.IndexedFeed..ctor(Feeds feed)
                    at Inedo.ProGet.Service.FeedIndexerExecuter.Execute()

                    A severe error occurred when attempting to index the feed named "Test Feed". This feed's packages will not be indexed until the problem is corrected. For reference, the full error was: System.ArgumentException: objXml is missing Properties element.
                    at Inedo.ProGet.Extensibility.Persistence.DeserializeFromPersistedObjectXml(String objXml)
                    at Inedo.ProGet.Extensibility.PackageStores.FeedExtensions.CreatePackageStore(Feeds feed, Nullable`1 pollFrequency)
                    at Inedo.ProGet.Service.IndexedFeed..ctor(Feeds feed)
                    at Inedo.ProGet.Service.FeedIndexerExecuter.Execute()

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

                      The assembly you sent in the .progetx file was named "{Company}ProGetExtensions", not "MyAssembly" - if you change that in the configuration and restart the services it should work.

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

                        Tod,

                        XML Configuration, in fact, is as you suggested, I was only using "MyAssembly" for reference.

                        This is how I have it.
                        <{Company}.ProGetExtensions.FilteredPackageStore Assembly="{Company}ProGetExtensions">
                        </{Company}.ProGetExtensions.FilteredPackageStore>

                        I tried to start it from command line, same error.

                        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