Skip to content

CustomElements includes babel.config.json, package.json and tsconfig.json in project #59110

Open
@FreyLuis

Description

@FreyLuis

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

With version 9.0.0 of the NuGet package Microsoft.AspNetCore.Components.CustomElements, 3 config files are being added as Content.

Image
Image

In combination with Microsoft.TypeScript.MSBuild, that leads to the following error when building:

tsc error TS18003: Build:No inputs were found in config file 'C:/Users/luis/.nuget/packages/microsoft.aspnetcore.components.customelements/9.0.0/contentFiles/any/net9.0/js/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [C:\Users\luis\source\repos\Trumpf\LDM_Editor_SDK\src\EditorSdk.OAppSdk\TL.LDM.EditorSdk.OAppSdk.csproj]

I don't believe, these 3 files should be included as Content.

Expected Behavior

The mentioned files should not be added to Content.

Steps To Reproduce

  • Create a Blazor WebAssembly App
  • Add Microsoft.AspNetCore.Components.CustomElements

Exceptions (if any)

No response

.NET Version

9.0.100

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions