This content has been marked as final. Show 9 replies
It's possible that when restart VS or close and reopen a project within VS, ODT and its dependency ODP.NET are not loaded yet.
In this case following tricks should solve the error. I think Tridus was referring to these "tricks".
(copied and pasted from the readme.txt in Beta 2 version)
3. Tips to Resolve Compilation Errors With Custom Mapping
When custom mapping in a configuration file has changed, re-generate the data
model to solve compilation errors incurred by the new changes.
In some scenarios, custom mapping can cause compilation errors, when a
project that uses custom mapping is loaded by Visual Studio. There are
few ways to resolve the compilation errors:
(a) Open Visual Studio Help/About Microsoft Visual Studio and click OK
button to exit the dialog box or
(b) Open the to-be-used connection in Server Explorer
Then compile the project again to eliminate the compliation errors.
Once you have done the above and are still seeing custom type mapping related messages,
You may use MKSNT touch.exe (or the like utility) on app.config to change its timestamp but leave
its content intact.
This will force ODT/ODP to reread the custom type mapping.