How do I add BundleConfig.cs to my project?

前端 未结 2 1511
时光取名叫无心
时光取名叫无心 2020-12-07 11:21

I have an ASP.Net MVC project and I want to implement bundling, but everything I can find on the internet directs me to open BundleConfig.cs in App_Start<

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 11:28

    If you are using "MVC 5" you may not see the file, and you should follow these steps: http://www.techjunkieblog.com/2015/05/aspnet-mvc-empty-project-adding.html

    If you are using "ASP.NET 5" it has stopped using "bundling and minification" instead was replaced by gulp, bower, and npm. More information see https://jeffreyfritz.com/2015/05/where-did-my-asp-net-bundles-go-in-asp-net-5/

提交回复
热议问题