Have you installed DynamicDataTemplatesVB 1.0.1 and encountered the following errors on compilation:
The file 'DynamicData/FieldTemplates/EmailAddress_Edit.ascx.vb' does not exist. The file 'DynamicData/FieldTemplates/Url_Edit.ascx.vb' does not exist.
in addition to other errors in “EmailAddress_Edit.ascx”, “EmailAddress_Edit.ascx.vb”, “Url_Edit.ascx” and “Url_Edit.ascx.vb”?
These compilation errors are caused by three typos in DynamicDataTemplatesVB 1.0.1:
- On line 1 in “EmailAddress_Edit.ascx.vb”, replace:
- On line 1 in “Url_Edit.ascx.vb”, replace:
- On line 1 in “Url_Edit.ascx.vb”, replace the double period in the “inherits” tag with a single period, for example:
While I found the third error was easy to spot, the first two errors uses the older Web Site Project syntax (CodeFile) to reference the associated code file instead of the newer Web Application Project syntax (CodeBehind). The similarity between these tags made it more difficult to spot. Recompile and you’re up and running.