Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
FreyLuis opened this issue Nov 22, 2024 · 0 comments
Open
1 task done
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug.
Milestone

Comments

@FreyLuis
Copy link

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

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Nov 22, 2024
@javiercn javiercn added the bug This issue describes a behavior which is not expected - a bug. label Nov 22, 2024
@javiercn javiercn added this to the 9.0.x milestone Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug.
Projects
None yet
Development

No branches or pull requests

2 participants