Skip to content

Use C# bindings in EventLog code #745

Closed

Description

Instead of using ResourceManager directly. Since the rest of PowerShell uses the strongly-typed auto-generated C# bindings for resources, we should be consistent and use it there too. This caused a bug while implementing #743.

Activity

  1. self-assigned this
    on Apr 6, 2016
  2. modified the milestone: on Apr 20, 2016
  3. modified the milestones: Aug17, v0.6.0 on Jun 24, 2016
  4. vors commented on Jun 24, 2016

    @vors
    Collaborator

    Moving to GA, we updated the code to make it work, proper fix is not needed for 0.6.0

  5. vors commented on Jun 29, 2016

    @vors
    Collaborator

    Also https://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Diagnostics/GetEventCommand.cs#L399

        protected override void BeginProcessing()
        {
            _resourceMgr = new ResourceManager("GetEventResources", typeof(GetWinEventCommand).GetTypeInfo().Assembly);
        }
  6. modified the milestones: Aug17, v0.7.0 on Jul 1, 2016
  7. 5 remaining items

  8. added
    Issue-Bug
    WG-Engine
    on Sep 1, 2016
  9. modified the milestones: , post-6.0.0 on Oct 17, 2016
  10. removed this from the milestone on May 22, 2017
  11. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  12. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  13. added
    Resolution-No Activity
    on Nov 16, 2023
  14. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  15. microsoft-github-policy-service commented on Nov 23, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugOS-WindowsResolution-No ActivityWG-Engine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions