Skip to content

nuget package contains debug builds #939

@stephentoub

Description

@stephentoub

Image

using Simple.OData.Client;
using System.Diagnostics;
using System.Reflection;

Console.WriteLine(IsDebugBuild(typeof(Pluralizers).Assembly));

static bool IsDebugBuild(Assembly a) =>
    a.GetCustomAttributes(false).OfType<DebuggableAttribute>().Any(da => da.IsJITTrackingEnabled);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions