Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

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).
Posted
Updated 26-Nov-14 21:51pm
v2
Comments
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


or

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.
 
Share this answer
 

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