-
Notifications
You must be signed in to change notification settings - Fork 89
Description
-
use Visual Studio not rider to make your life alittle bit easier
-
old version , open with visual studio , it will prompt you to install the version of the project on runtime ( you might need to restart device )
dotnet --list-runtimes command will help you to see if it was added -
missing SCROMCourses folder issue
to fix this just add SCROMCourses folder to the project OpenSourceSCROMLMS -
redirect issue to localhost/undifined .
to solve the issue to redirect to the uploaded course do the following :
-
open DatabaseHelper.cs -> go to InsertScromCourse function and add return SCORM_course.id and return the type int
-
open UploadFile.cshtml.cs -> go to line 86 and add var id = , then in the return json url : "/Package?id=" + id
-
open UploadFile.cshtml -> go to the js code and replace the window.location.href with :
const baseUrl = window.location.origin; const fullUrl = baseUrl + response.Url; window.location.href = fullUrl;`