diff --git a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj
index 499829b3e9..c64df8bb26 100644
--- a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj
+++ b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk.MongoBlog.csproj
@@ -12,7 +12,12 @@
-
+
+
+
+
+
+
diff --git a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs
index 1235c09010..bbd03a6de5 100644
--- a/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs
+++ b/src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs
@@ -29,10 +29,18 @@ namespace AbpDesk.Blogging
options.Sources.Add(
new EmbeddedFileSet(
"/Areas/",
- GetType().GetTypeInfo().Assembly,
+ GetType().Assembly,
"Areas"
)
);
+
+ options.Sources.Add(
+ new EmbeddedFileSet(
+ "/",
+ GetType().Assembly,
+ "wwwroot" //TODO: This is not tested yet!
+ )
+ );
});
services.AddAssemblyOf();
diff --git a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml b/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml
index 7c97a9306f..2933a5458c 100644
--- a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml
+++ b/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.cshtml
@@ -3,7 +3,7 @@
Blog Posts
@section styles {
-
+
}
diff --git a/src/AbpDesk/AbpDesk.MongoBlog/compilerconfig.json b/src/AbpDesk/AbpDesk.MongoBlog/compilerconfig.json
index 9d51e91a28..4e91f1a415 100644
--- a/src/AbpDesk/AbpDesk.MongoBlog/compilerconfig.json
+++ b/src/AbpDesk/AbpDesk.MongoBlog/compilerconfig.json
@@ -1,6 +1,6 @@
[
{
- "outputFile": "Areas/Blog/Views/Posts/Index.css",
- "inputFile": "Areas/Blog/Views/Posts/Index.scss"
+ "outputFile": "wwwroot/modules/mongoblog/views/posts/index.css",
+ "inputFile": "wwwroot/modules/mongoblog/views/posts/index.scss"
}
]
\ No newline at end of file
diff --git a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.css b/src/AbpDesk/AbpDesk.MongoBlog/wwwroot/modules/mongoblog/views/posts/index.css
similarity index 100%
rename from src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.css
rename to src/AbpDesk/AbpDesk.MongoBlog/wwwroot/modules/mongoblog/views/posts/index.css
diff --git a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.min.css b/src/AbpDesk/AbpDesk.MongoBlog/wwwroot/modules/mongoblog/views/posts/index.min.css
similarity index 100%
rename from src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.min.css
rename to src/AbpDesk/AbpDesk.MongoBlog/wwwroot/modules/mongoblog/views/posts/index.min.css
diff --git a/src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.scss b/src/AbpDesk/AbpDesk.MongoBlog/wwwroot/modules/mongoblog/views/posts/index.scss
similarity index 100%
rename from src/AbpDesk/AbpDesk.MongoBlog/Areas/Blog/Views/Posts/Index.scss
rename to src/AbpDesk/AbpDesk.MongoBlog/wwwroot/modules/mongoblog/views/posts/index.scss