Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. mwatt_5816

    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!

    M Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    mwatt_5816

    @mwatt_5816

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Location Berthoud, CO

    mwatt_5816 Unfollow Follow

    Latest posts made by mwatt_5816

    • BuildMaster 2024.6 - Build .NET Project script template bug

      While trying to modify a "Build .NET Project" script template, I'm consistently encountering an "Unexpected Error (500) Server Error" in the dialog window.

      This is in a new Application for a DotNet platform, WindowsServer target.

      I created a new local "Build .NET Project" script and where I seem to always run into issues is when I attempt to enter a value for "Build output directory" on the "dotnet Options" tab.

      09f2904e-578a-49ce-8929-4272c6f8ec5c-image.png

      Every time I enter a value, like "bin/Release" and try to save the dialog window displays:
      6bcdbb18-7671-43c6-b710-4686004a98e5-image.png

      The logged error:

      An error occurred in the web application: An item with the same key has already been added. Key: Output
      
      URL: https://hidden/scripts/edit-template?applicationId=26&raftItemId=Default%3A%3AScada Data Importer%3A%3ADeploymentScript%3A%3ABuild
      Referrer: https://hidden/scripts/edit-template?applicationId=26&raftItemId=Default%3A%3AScada Data Importer%3A%3ADeploymentScript%3A%3ABuild
      User: hidden
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0
      Stack trace:    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
         at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
         at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
         at Inedo.BuildMaster.Web.WebApplication.Pages.Scripts.ScriptTemplates.ScriptTemplateEditor.Action(String name, ValueTuple`2[] args)
         at Inedo.BuildMaster.Web.WebApplication.Pages.Scripts.ScriptTemplates.CreateDotNetBuildEditor.GetStatements()+MoveNext()
         at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
         at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
         at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)
         at Inedo.ExecutionEngine.ScopedStatementBlock..ctor(IEnumerable`1 statements, IEnumerable`1 templates)
         at Inedo.ExecutionEngine.ScopedStatementBlock..ctor(IEnumerable`1 statements)
         at Inedo.BuildMaster.Web.WebApplication.Pages.Scripts.ScriptTemplates.ScriptTemplateEditor.CreateScript()
         at Inedo.BuildMaster.Web.WebApplication.Pages.Scripts.EditScriptTemplatePage.<>c__DisplayClass14_0.<CreateChildControlsAsync>g__save|0()
         at Inedo.BuildMaster.Web.WebApplication.Pages.Scripts.EditScriptTemplatePage.<>c__DisplayClass14_0.<CreateChildControlsAsync>b__1()
         at Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimpleEventProcessor.ProcessEventAsync(String eventName, String eventArgument)
         at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
         at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      
      ::HTTP Error on 6/23/2025 2:00:43 PM::
      
      posted in Support
      M
      mwatt_5816
    • RE: Adding an ad-hoc deployment process to an existing application

      Thank you for your guidance Dean!

      posted in Support
      M
      mwatt_5816
    • Adding an ad-hoc deployment process to an existing application

      I've inherited a BuildMaster instance for deployment of an application I'm responsible for, and I'm very new to BuildMaster.

      I'm looking for advice on how to add the ability to do an ad-hoc deployment to a sandbox environment for an existing application.

      The existing setup consists of a release pipeline that basically does Build -> Deploy to Test -> Deploy to Production. I want to keep that functionality, but I'm trying to support a sandbox environment that I can do a Build and Deploy as requested. This environment is potentially not going to be a permanent one, but to allow users to perform longer term configuration and workflow prototyping without being as disruptive to new features or data refreshes.

      I really don't want to perform any release operations with this build & deploy process.

      Can I accomplish this with BuildMaster? Would it be a secondary pipeline for the application that I can somehow run ad-hoc, or would it make sense to set it up as a New application with a different configuration, one that doesn't generate releases?

      Totally newbie here. Any advice is appreciated.

      posted in Support
      M
      mwatt_5816