Simplified virtual file set adding for embedded files sets.

pull/179/head
Halil İbrahim Kalkan 8 years ago
parent 5228cf9aa9
commit 441233fc07

@ -28,17 +28,9 @@ namespace AbpDesk.Blogging
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Areas/",
"/",
GetType().Assembly,
"Areas"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().Assembly,
"wwwroot" //TODO: This is not tested yet!
"" //TODO: This is not tested yet!
)
);
});

@ -21,25 +21,9 @@ namespace Volo.Abp.Account.Web
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Areas/",
"/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.Account.Web.Areas"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/Pages/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.Account.Web.Pages"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.Account.Web.wwwroot"
"Volo.Abp.Account.Web"
)
);
});

@ -19,17 +19,9 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
{
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
"/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.wwwroot"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/Views/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Views"
"Volo.Abp.AspNetCore.Mvc.UI.Bootstrap"
)
);
});

@ -19,17 +19,9 @@ namespace Volo.Abp.AspNetCore.Mvc
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Views/",
"/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.Views"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.wwwroot"
"Volo.Abp.AspNetCore.Mvc"
)
);
});

@ -27,25 +27,9 @@ namespace Volo.Abp.Identity.Web
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Pages/",
"/",
GetType().Assembly,
"Volo.Abp.Identity.Web.Pages"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/Areas/",
GetType().Assembly,
"Volo.Abp.Identity.Web.Areas"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().Assembly,
"Volo.Abp.Identity.Web.wwwroot"
"Volo.Abp.Identity.Web"
)
);
});

Loading…
Cancel
Save