Is bug fixed in 5.7.634 back in version 5.8.662 ?
"NHibernate support
The bug related to the "Object reference not set to an instance of an object" error when generating code is fixed"
Object reference not set in 5.8.662
Re: Object reference not set in 5.8.662
We couldn't reproduce this issue in our environment with the latest build of Entity Developer 5.8.662.
Please perform the following steps:
1) uninstall Entity Developer and other Devart products, which can use common assemblies (e.g., LinqConnect);
2) clear these folders:
- Program Files (x86)\Devart\dotConnect
- Program Files (x86)\Devart\Entity Developer
- Program Files (x86)\Common Files\Devart\dotConnect
- Program Files (x86)\Common Files\Devart\Entity Developer
- Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies\Devart (this directory depends on the version of Visual Studio being used);
3) remove all Devart.* and policy.*.Devart.* files from the GAC:
- C:\Windows\assembly\GAC_MSIL\;
- C:\Windows\Microsoft.NET\assembly\GAC_MSIL
4) install Entity Developer (run installation package as administrator) and other Devart products, if necessary, with compatible versions.
Make sure, that during uninstalling/installing all Visual Studio instances are closed.
If this doesn't help, please send us a small test project with the NHibernate model, with which this error could be reproduced.
Please perform the following steps:
1) uninstall Entity Developer and other Devart products, which can use common assemblies (e.g., LinqConnect);
2) clear these folders:
- Program Files (x86)\Devart\dotConnect
- Program Files (x86)\Devart\Entity Developer
- Program Files (x86)\Common Files\Devart\dotConnect
- Program Files (x86)\Common Files\Devart\Entity Developer
- Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies\Devart (this directory depends on the version of Visual Studio being used);
3) remove all Devart.* and policy.*.Devart.* files from the GAC:
- C:\Windows\assembly\GAC_MSIL\;
- C:\Windows\Microsoft.NET\assembly\GAC_MSIL
4) install Entity Developer (run installation package as administrator) and other Devart products, if necessary, with compatible versions.
Make sure, that during uninstalling/installing all Visual Studio instances are closed.
If this doesn't help, please send us a small test project with the NHibernate model, with which this error could be reproduced.