load("//dotnet:defs.bzl", "csharp_library")

csharp_library(
    name = "testing.webserver",
    testonly = True,
    srcs = glob(
        ["**/*.cs"],
        exclude = [
            "bin/**",
            "obj/**",
        ],
    ),
    out = "Testing.WebServer",
    data = [
        "//common/src/web",
    ],
    nullable = "enable",
    project_sdk = "web",
    run_analyzers = False,
    target_frameworks = ["net10.0"],
    visibility = [
        "//dotnet/test:__subpackages__",
    ],
)
