が含まれていません、私はBundleManagerを呼ぶところである:私は(私のMaster.cshtmlのページの一番下)のバンドルを呼び出すのはここClientDependencyはここに私のバンドル
public class MyUmbracoApplication : UmbracoApplication
{
protected override void OnApplicationStarted(object sender, System.EventArgs e)
{
//register custom routes
RouteConfig.RegisterRoutes(RouteTable.Routes);
CreateBundles();
base.OnApplicationStarted(sender, e);
}
public static void CreateBundles()
{
BundleManager.CreateCssBundle("css",
new CssFile("~/css/rte.css"));
BundleManager.CreateJsBundle("js",
new JavascriptFile("/assets/js/custom.js"));
}
}
は次のとおりです。
<div class="test">
@{
Html.RequiresJsBundle("js");
Html.RequiresCssBundle("css");
}
</div>
ここで
は私が得るものです:
の内容私clientdependency一時XMPファイル:
<?xml version="1.0" encoding="utf-8" standalone="yes"?><map />
私は(ローカルの)みんなへのフルアクセスを与えた、ファイルはフォルダと同じ有価証券を保有してい(資産/ CSS、資産/ JSの)
私は標準を持っていますClientDependency.configファイル。
どうしたのですか?
あなたが別の何かにバンドルの名前を変更するtridedました.. –