I have VS with the latest updates with:
1. visual studio tools for office SE
2. visual studio tools for office SE runtime
3. WinXP SP2
4. Office 2003
I'm developing a 2003 add-in for Outlook and everything is working fine in my dev machine, I included SetSecurity.cs in my code and it works fine in my machine, however it never installs in other machines.
tests were made on a XP SP2 machine with an Office2003 and .NET framework 2.0 installed, and I'm getting the error:
Not Loaded, a runtime error occurred during loading of the Com add-in
I've noticed that CAS is set as FullTrust on URL set to the correct installation folder with a wild card (*), under Machine Code group, however I tried to change the group to User but it did not work.
Note that primary output for SetSecurity project is added to the setup project, and it is set as a custom action in install and uninstall.
It happened once that it did not work in my dev machine, but when I added SetSecurity project it worked with no troubles, but the error was not the one mentioned above, it was something else that I could not remember!
I could not find any post that really have the right cure for this, and i hope that someone got a solution for it!