More information on how the package works can be found on asp.net .
It seems that the BootStrap nuget package has made several packages for you. You can change this to include the Awesome font in an existing package or make it your own package
eg.
public static void RegisterBundles() { BundleTable.Bundles .Add(new ScriptBundle("~/bundles/bootstrap") .Include("~/Scripts/bootstrap*")); // Either add it to the existing bundle BundleTable.Bundles .Add(new StyleBundle("~/Content/bootstrap") .Include("~/Content/bootstrap.css", "~/Content/bootstrap-responsive.css", "~/Content/font-awesome.css")); // Or make it it own bundle BundleTable.Bundles .Add(new StyleBundle("~/Content/font-awesome") .Include("~/Content/font-awesome.css")); }
Then you need to make sure your _layout.cshtml displays these packages (Bootstrap nuget may not have done this for you).
eg.
@Styles.Render("~/Content/bootstrap") // Or, if you made it it own bundle @Styles.Render("~/Content/font-awesome")
If you do not want to include ~ / Content / bootstrap-responsive.css in your package, simply remove this line from the Include method.
source share