trnktms / Helix.Skeleton

Accelarate Helix based Sitecore project initial setup and project addition included with common needs.
MIT License
12 stars 2 forks source link

c#6 functions could not be used in razor files #14

Open Geri044 opened 5 years ago

Geri044 commented 5 years ago

The project csproj files are referencing to older versions of Microsoft.Net.Compilers (should be: 2.1.0) and Microsoft.CodeDom.Providers.DotNetCompilerPlatform (should be 1.0.7). This could be resolved via a nuget package install for the whole solution. Also a global web.config file is needed for the process (with Build Action set to None).

Attached View webconfig: ViewWeb.txt Attached Project webconfig: Web.txt