Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KenticoDevTrev committed Jun 15, 2022
2 parents 4e2cd5e + 56c734c commit 4093d57
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
15 changes: 9 additions & 6 deletions MVC/MVC/App_Start/StartupConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,15 @@ public static void RegisterDotNetCoreConfigurationsAndKentico(IApplicationBuilde
// </handlers>
// </system.webServer>
// </configuration>
app.UseStaticFiles(new StaticFileOptions()
{
FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), "Baseline")),
RequestPath = "/Baseline"
});

/*
app.UseStaticFiles(new StaticFileOptions()
{
FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), "Baseline")),
RequestPath = "/Baseline"
});
*/
app.UseStaticFiles();


app.UseKentico();

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Our Kentico 13 Baseline for MVC .Net Core 6.0 Site, the perfect starting point f
# Bug Fixes / Features Added
Bug fixes are mentioned here by date and MVC Version # (see MVC/MVC/MVC.csproj version #). The commit history shows all changes.

**Version 1.3.0 ()**
**Version 1.3.0 (April 8, 2022)** [link 1.3.0](https://github.com/HBSTech/Kentico13CoreBaseline/pull/12)
* Hotfixed to 64 (Refresh 5) for easier first time installation.
* Replaced Bundler & Minifier with Node.js (package.json) + Gulp (gulpfile.js) + WebPack (various webpack.configs)
* This also removed need for extensions in Visual Studio previously needed. Base Visual Studio 2022 will suffice now, although NPM Task Runner is beneficial.
Expand Down Expand Up @@ -88,7 +88,9 @@ Optionally install
5. [XperienceCommunity.CSVImport.Admin](https://www.nuget.org/packages/XperienceCommunity.CSVImport.Admin/)
6. [HBS.AutomaticGeneratedUserRoles.Kentico](https://www.nuget.org/packages/HBS.AutomaticGeneratedUserRoles.Kentico/) (may not be needed with new Authorization plugin already installed)

Make sure you have Visual Studio 2022 or higher, recommended to install the extension "NPM Task Rnner" so you can run the npm install and npm dev/production from the Task Runner Explorer.
Make sure you have Visual Studio 2022 or higher, recommended to install the extension "NPM Task Runner" so you can run the npm install and npm dev/production from the Task Runner Explorer.

**Typescript Error on Build:** Some users have reported seeing typescript errors on build. If you see this, please install the [`Microsoft.TypeScript.MSBuild`](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild/) nuget package on the MVC Project.

## Install Site Objects / Settings
When starting fresh, please perform the following operations in your Kentico Xperience Admin instance:
Expand Down
2 changes: 1 addition & 1 deletion XperienceModels/XperienceModels.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>XperienceModels</RootNamespace>
</PropertyGroup>

Expand Down

0 comments on commit 4093d57

Please sign in to comment.