We've been using App.config to hold our mappings for many years without problems. We're now trying to upgrade from the 2010 Q1 release (version 2010.1.310) to 2010 Q2 (version 2010.2.714) and we're getting stuck: we can't get the new enhance.exe to produce enhanced assemblies at all.
Our environment is:
- .NET 3.5, VisualStudio 2008
- running the enhancer from MSBuild (and OpenAccess not installed, but assemblies etc stored in a known location, as per the latest documenation)
- Our mapping data is the "classic" OpenAccess stype, eg column mappings use the <extension> element, eg
The enhancer runs and doesn't complain, but the assemblies are not enhanced (and we ultimately get the corresponding exception). If we turn up the trace verbosity it does say:
Telerik OpenAccess Enhancer, Version 2010.2.714.1
Copyright 1996-2010 Telerik
Enhanced classes count: 0
Intercepted field access count: 0
Enhancer runtime information:
Warning: No persistent classes found. Is the metadata information missing?
We suspect we're missing something to do with how the enhancer picks up the metadata. Can anyone point us in the right direction / share experiences?
Also, we're a bit lost / puzzled with the apparent split between Classic and VisualDesigner variants. The latter has a different schema for holding the mappings as XML and the documentation specifically talks about external
XML files (but the OpenAccess.xsd with the SDK is the 'classic' one). Is there some documentation / explanation about the differences and how/when to migrate?