DayPilot Knowledge Base

AJAX Calendar/Scheduling Controls
DayPilot Pro (AJAX Calendar Control)
» DayPilot ASP.NET Calendar
DayPilot Pro (AJAX Monthly Calendar Control)
» DayPilot ASP.NET Monthly Calendar
DayPilot Pro (AJAX Scheduler Control)
» DayPilot ASP.NET Scheduler
DayPilot » Knowledge Base » How to compile DayPilot Pro source (ASP.NET WebForms)

How to compile DayPilot Pro source (ASP.NET WebForms)

Last revision: Oct 17, 2014

Before compilation

Note: Since build 6.4.2774 the assembly signing is disabled in the source project. The shipped DLL is still signed.

In prior releases, you will get the following error message during compilation:

"Cryptographic failure while signing assembly '...\DayPilot.dll' -- 'Error reading key file 'DayPilotStrong.snk' -- The system cannot find the file specified."

Possible solutions:

  1. In project properties, go to "Signing" tab and uncheck "Sign the assembly".
  2. Generate your own key using "sn -k DayPilotStrong.snk" command.

Compressing the JavaScript

All JavaScript resources are compressed using ESC before compilation.

The full DayPilot Pro package includes both the original and the compressed version.

Example:

The ESC command line used for compression:

cscript ESC.wsf -l 4 -ow Calendar.js Calendar.src.js

Bless.map file (must be present in the current directory):

DayPilot
DayPilotCalendar
DayPilotScheduler
DayPilotVertical
DayPilotMenu
DayPilotBubble
DayPilotMonth
DayPilotDynamic
DayPilotNavigator
WebForm_DoCallback
WebForm_InitCallback
__doPostBack
__theFormPostCollection
__theFormPostData
_jsParse
Iuppiter
console
jQuery
Sys
angular

Related

How to run DayPilot Lite demo with .NET Framework 2.0 [open-source]
How to show a confirmation dialog before deleting an event (Calendar)
DayPilot Calendar control doesn't show any events
How to copy events using drag&drop (Ctrl key)