dotnet / dotnet/modernize-dotnet

Agent does not preserve asset bundling/packaging configuration

Open
#1,698 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.2k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

### Description

Direct customer feedback:
> After upgrading an ASP.NET MVC application (.NET Framework 4.8 → .NET 8), CSS, icons, and static resources rendered incorrectly due to two issues: (1) the project's EnableDefaultContentItems was set to false, so resources weren't loaded after .NET Framework's bundle tool was removed; (2) no replacement bundling tool was configured.

Expected Behavior:

The agent should detect the existing asset pipeline configuration (e.g., BundleConfig.cs) and either preserve functional equivalence automatically or provide a clear, supported replacement path (e.g., configure webpack or WebOptimizer).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.