what is issue migrate from dotnet 3.1 to dotnet 6

Nattanan Yowa asked on August 3, 2022 18:23

An error occurred while starting the application. ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') string.Substring(int startIndex, int length)

ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') string.Substring(int startIndex, int length) CMS.DataEngine.SettingsKeyName..ctor(string keyName) CMS.DataEngine.SettingsService.get_Item(string keyName) CMS.Base.DebugHelper.get_DebugDisabled() CMS.Base.DebugHelper.ResetDebugSettings(bool createWebFarmTask) CMS.Base.DebugHelper.SetApplicationStartDebug() CMS.DataEngine.CMSApplication.Init() Kentico.Web.Mvc.ApplicationInitializerStartupFilter+<>c__DisplayClass2_0.

Recent Answers


Juraj Ondrus answered on August 4, 2022 08:13

How did you changed the .NET Core? I just tested this on the sample Dancing Goat Core project - I just changed the target framework version to .NET 6, built the solution and it is working fine.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.