Oakrey.Applications.ReportIssue 6.0.0

dotnet add package Oakrey.Applications.ReportIssue --version 6.0.0
                    
NuGet\Install-Package Oakrey.Applications.ReportIssue -Version 6.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Oakrey.Applications.ReportIssue" Version="6.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Oakrey.Applications.ReportIssue" Version="6.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Oakrey.Applications.ReportIssue" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Oakrey.Applications.ReportIssue --version 6.0.0
                    
#r "nuget: Oakrey.Applications.ReportIssue, 6.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Oakrey.Applications.ReportIssue@6.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Oakrey.Applications.ReportIssue&version=6.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Oakrey.Applications.ReportIssue&version=6.0.0
                    
Install as a Cake Tool

Oakrey.Applications.ReportIssue

A .NET library for reporting issues within applications. It provides a simple service abstraction that integrates with application metadata (IApplicationInfo) and Oakrey.Log for structured logging during issue submission.

Main features

  • IReportIssueService abstraction for triggering issue reports from any application layer.
  • ReportIssueService implementation that reads application metadata (name, version, log path) to enrich reports.
  • DummyAppInfo fallback for use without a configured IApplicationInfo.
  • ReportConfigurationExtension for one-line dependency injection registration.
  • Integrated tracing and error logging via Oakrey.Log.

Project structure

ReportIssue/
  IReportIssueService.cs          # Service abstraction
  ReportIssueService.cs           # Default implementation
  ReportConfigurationExtension.cs # DI registration extension

Requirements

  • .NET 10 or higher
  • Oakrey.Applications (Application metadata, IApplicationInfo)

Installation

NuGet Package Manager

  1. Open your project in Visual Studio.
  2. Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution.
  3. Search for Oakrey.Applications.ReportIssue and click Install.

.NET CLI

dotnet add package Oakrey.Applications.ReportIssue

Package Manager Console

Install-Package Oakrey.Applications.ReportIssue

Configuration

Register the service in your DI container using the provided extension method:

services.ConfigureReportIssueService();

This registers IReportIssueService as a transient service backed by ReportIssueService.

ReportIssueService requires IApplicationInfo to be registered in the container. If it is not available, the parameterless constructor falls back to DummyAppInfo.

Example usage

public class SomeViewModel
{
    private readonly IReportIssueService reportIssueService;

    public SomeViewModel(IReportIssueService reportIssueService)
    {
        this.reportIssueService = reportIssueService;
    }

    public void OnReportIssueClicked()
    {
        reportIssueService.ReportIssue();
    }
}

Development notes

The actual issue submission logic inside ReportIssueService.ReportIssue() is currently stubbed out (commented). The intended integration targets an Azure DevOps reporter dialog using IApplicationInfo.DevOpsUrl, IApplicationInfo.DevOpsPAT, and IApplicationInfo.DevOpsProjectName. These members are not yet part of the public IApplicationInfo interface and will need to be added before the reporter can be activated.

License

MIT. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Oakrey.Applications.ReportIssue:

Package Downloads
Oakrey.Applications.Base

A foundational .NET library for building modular WPF applications. Provides application lifecycle management, MVVM ViewModel resolution, structured logging, telemetry, and sequential or parallel service preloading with full unhandled-exception coverage.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.0 102 5/22/2026
2.0.4 100 5/22/2026
2.0.3 98 5/15/2026
2.0.2 121 3/13/2026
2.0.1 109 2/11/2026
2.0.0 435 11/18/2025
1.1.2 183 10/10/2025
1.1.1 220 9/29/2025
1.1.0 211 9/23/2025
1.0.0 305 4/17/2025