Skip to main content
SCE Documentation

Calendar Developer

Installing Calendar Plugin

  1. Open Visual Studio Solution. Once the solution is opened, go to “Tools” and select “NuGet Package Manager” then select “Manage NuGet Packages for solution”.
  2. Change the package source to be “FHSS Nuget”, go to “Browse” and search for “CalendarPlugin”, then select the package titled “Byu.Fhss.Sce.CalendarPlugin” and click “Install” to the right. On any prompts that appear thereafter, make sure to continue the installation.
  3. Once the installation is complete, make sure the solution still builds.
  4. If the solution does not build, install the nuget package "Byu.Fhss.Sce" and "Byu.Fhss.Sce.Util".
  5. Rebuild the solution and make sure there are no errors.

Updating Calendar Plugin

  1. Open Visual Studio Solution. Once the solution is opened, go to “Tools” and select “NuGet Package Manager” then select “Manage NuGet Packages for solution”.
  2. Change the package source to be “FHSS Nuget”, go to “Updates” and search for “CalendarPlugin”, then select the package titled “Byu.Fhss.Sce.CalendarPlugin” and click “Install” to the right. On any prompts that appear thereafter, make sure to continue the update.
  3. Once the update is complete, make sure the solution still builds.

Errors

  • The most common error occurs immediately after installation. The error is "Object is not set to instance of an Object" or "NullReferenceException". This usually occurs becase the section was not added for the ListManager in the web.config file. So to fix this error go to the main web.config for the project and under the "configSections" tag add the following code:

<section name="Byu.Fhss.Sce.CalendarPlugin" type="Byu.Fhss.Sce.CalendarPlugin.CalendarPluginSectionHandler, Byu.Fhss.Sce.CalendarPlugin" />

  • Now build the solution again, the project should now run.