Skip to content

Intellisense Files Missing Corresponding DLLs in Microsoft.AspNetCore.App.Ref #60221

@ellahathaway

Description

@ellahathaway

In reference to dotnet/runtime#112102, it has been identified that not all IntelliSense files in the Microsoft.AspNetCore.App.Ref have corresponding DLLs.

This issue was originally surfaced by the source-build tests (see dotnet/runtime#112102 (comment)).

IntelliSense files missing .dlls in the aspnetcore app ref - MSFT SDK

IntelliSense files missing .dlls in the aspnetcore app ref - Source-Build SDK

I gathered the lists above with the following simple script:

#!/bin/bash
if [ "$#" -ne 2 ]; then
    echo "Usage: $0 <root_folder> <app_ref_folder>"
    exit 1
fi

root_folder=$1
app_ref_folder=$2

cd "$root_folder" || exit

version=$(echo "$app_ref_folder" | grep -oP '\d+\.\d+\.\d+(-[a-zA-Z0-9.]+)?')

xmls=$(find "$app_ref_folder" -name "*.xml")
dlls=$(find "$app_ref_folder" -name "*.dll")

# Find xmls that don't have a corresponding dll
for xml in $xmls
do
    dll=$(echo $xml | sed 's/.xml/.dll/')
    if [[ ! $dlls =~ $dll ]]; then
        # Replace the version and net10.0 with placeholders
        xml=$(echo $xml | sed "s/$version/x.y.z/")
        xml=$(echo $xml | sed 's/net10.0/netx.y/')
        echo $xml
    fi
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions