Hi, after upgrading .NET framework from 4.0 to 4.5 im geting error on compilation:
The custom tool 'DevartLinqToSqlGenerator' failed. Object reference not set to an instance of an object.
Reinstaled Devart and it doesnt help. The same error shows when i try open .lqml file with command "Run custom tool". Any tips how to fix it?
Best regards,
Arek
The custom tool 'DevartLinqToSqlGenerator' failed
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: The custom tool 'DevartLinqToSqlGenerator' failed
Please try reinstalling LinqConnect in the following way:
1) uninstall LinqConnect and other Devart products, which can use common assemblies (e.g., dotConnect providers);
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 xx.0\Common7\IDE\PrivateAssemblies\Devart;
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 LinqConnect (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.
1) uninstall LinqConnect and other Devart products, which can use common assemblies (e.g., dotConnect providers);
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 xx.0\Common7\IDE\PrivateAssemblies\Devart;
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 LinqConnect (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.