Click here to Skip to main content
14,737,119 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have created an add In using VS2013 with targeted framework 4.5. Its working fine in Outlook 2013 (System spec: Windows 8.1, Visual studio 2013 and office 2013).

But when I try to use the same in Outlook 2010 I am getting an error message "The common language runtime could not be loaded by (add in path). Contact your administrator for further assistance.". I have installed required .net framework and Microsoft visual studio 2010 tools for office runtime (Testing machine with windows 7 and office 2010).
Updated 26-Nov-14 22:51pm
Rohit R Chavan 27-Nov-14 3:54am
The current .NET security policy does not permit <assembly> to run from the folder <path>. Do not change the security policy in your computer. The .NET security policy is controlled by your administrator or the developer who wrote the custom Code


The version of the Microsoft .NET Framework on the end user's computer must be the same as or older than the version on the computer that was used to develop the solution. For more information about how to install the .NET Framework and the common language runtime
Rohit R Chavan 27-Nov-14 4:00am
install .NetFramework 4.0 and try again.
Kiran Wilson 27-Nov-14 4:12am
I have already done this, still got same message..

1 solution

You should try to create the AddIn in VS2010 then to use it in both cases, because the older version should work in the new versions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900