acl wrote:
We're not knowingly using custom template bindings.
Here is what the TemplateBindings of our LLBLGen project file look like:
<TemplateBindings>
<Binding Name="SD.TemplateBindings.SharedTemplates.NET4x" />
<Binding Name="SD.TemplateBindings.SqlServerSpecific" />
<Binding Name="SD.TemplateBindings.SharedTemplates" />
<Binding Name="SD.TemplateBindings.General" />
</TemplateBindings>
Following your reply we did find a solution:
- Open "Generate Code" function
- Click on "Edit Selected Task Specifics" (there's only one task in our case)
- Open the target platform dropdown, and select ".NET 4.0" again!
- Click Ok and compile
After this, the bindings look as follows, and the error went away:
<TemplateBindings>
<Binding Name="SD.TemplateBindings.SharedTemplates.NET40" />
<Binding Name="SD.TemplateBindings.SharedTemplates.Deprecated" />
<Binding Name="SD.TemplateBindings.SqlServerSpecific" />
<Binding Name="SD.TemplateBindings.SharedTemplates" />
<Binding Name="SD.TemplateBindings.General" />
</TemplateBindings>
Maybe this is of help to someone with the same problem.
Let us know if there is something wrong with this.
This is the culprit: <Binding Name="SD.TemplateBindings.SharedTemplates.NET4x" /> The file 'SD.TemplateBindings.SharedTemplates.NET4x' doesn't exist, it's called 'SD.TemplateBindings.SharedTemplates.NET40'
But I'm unsure where that comes from, as it's also named <Binding Name="SD.TemplateBindings.SharedTemplates.NET40" /> in 4.2.
Anyway, because the templatebindings file wasn't found, the templates bound in that file aren't used, hence the error. this should have been visible in the application output page docked at the bottom of the designer as well though, but it's often overlooked.